Menu

#83 glTexImage2D reads too many bytes for GL_COMPRESSED textures

confirmed
closed
nobody
libnds (23)
5
2012-10-09
2009-03-31
Kevin Vance
No

glTexImage2D() copies enough memory for 1 texel/byte for GL_COMPRESSED textures, but they are 4 texels/byte. The attached diff will copy the correct amount.

Discussion

  • Kevin Vance

    Kevin Vance - 2009-03-31

    Patch to fix

     
  • Dave Murphy

    Dave Murphy - 2009-05-01

    patch applied in SVN

     

Log in to post a comment.