OSDN Git Service

AGL's glCompressedTexImage2D now checks the imageSize parameter.
authorJack Palevich <jackpal@google.com>
Fri, 11 Sep 2009 00:13:28 +0000 (17:13 -0700)
committerJack Palevich <jackpal@google.com>
Fri, 11 Sep 2009 00:13:28 +0000 (17:13 -0700)
commitcfa316b9e759ca0e9ee80fd275f441666532f9b1
tree3822f02daaeb0b1abfb3b7add906e4c974d199a0
parent8b0bfdf70a5506fc4e7e04fc16f4757a35c00084
AGL's glCompressedTexImage2D now checks the imageSize parameter.

This parameter indicates how many bytes of the image data are valid.

Previously this parameter was ignored.
opengl/libagl/texture.cpp