• Matteo Bruni's avatar
    wined3d: Set GL_UNPACK_ALIGNMENT to 1. · 78ae4f66
    Matteo Bruni authored
    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).
    78ae4f66
Name
Last commit
Last update
..
Makefile.in Loading commit data...
arb_program_shader.c Loading commit data...
ati_fragment_shader.c Loading commit data...
buffer.c Loading commit data...
context.c Loading commit data...
cs.c Loading commit data...
device.c Loading commit data...
directx.c Loading commit data...
drawprim.c Loading commit data...
gl_compat.c Loading commit data...
glsl_shader.c Loading commit data...
nvidia_texture_shader.c Loading commit data...
palette.c Loading commit data...
query.c Loading commit data...
resource.c Loading commit data...
sampler.c Loading commit data...
shader.c Loading commit data...
shader_sm1.c Loading commit data...
shader_sm4.c Loading commit data...
state.c Loading commit data...
stateblock.c Loading commit data...
surface.c Loading commit data...
swapchain.c Loading commit data...
texture.c Loading commit data...
utils.c Loading commit data...
version.rc Loading commit data...
vertexdeclaration.c Loading commit data...
view.c Loading commit data...
volume.c Loading commit data...
wined3d.spec Loading commit data...
wined3d_gl.h Loading commit data...
wined3d_main.c Loading commit data...
wined3d_private.h Loading commit data...