![]() Alignment should be taken care by the surface pitch and GL_UNPACK_ROW_LENGTH alone just fine, as long as the pitch is a multiple of the pixel size. Client APIs respect that, internally we need to do the same and the changes to surface_load_texture and wined3d_volume_upload_data are there for this reason (e.g. WINED3DFMT_R16G16_SNORM is emulated with GL_RGB16 when NV_texture_shader isn't supported). |
||
---|---|---|
.. | ||
Makefile.in | ||
arb_program_shader.c | ||
ati_fragment_shader.c | ||
buffer.c | ||
context.c | ||
cs.c | ||
device.c | ||
directx.c | ||
drawprim.c | ||
gl_compat.c | ||
glsl_shader.c | ||
nvidia_texture_shader.c | ||
palette.c | ||
query.c | ||
resource.c | ||
sampler.c | ||
shader.c | ||
shader_sm1.c | ||
shader_sm4.c | ||
state.c | ||
stateblock.c | ||
surface.c | ||
swapchain.c | ||
texture.c | ||
utils.c | ||
version.rc | ||
vertexdeclaration.c | ||
view.c | ||
volume.c | ||
wined3d.spec | ||
wined3d_gl.h | ||
wined3d_main.c | ||
wined3d_private.h |