Code: Select all
*** GL error 0x0501 in glTexImage2D ***
*** GL error 0x0501 in glTexImage2D ***
What does it mean and any idea what I can do to fix it? my glTexImage2D(); appears to be correct and it all does display correctly...
Code: Select all
glTexImage2D(GL_TEXTURE_2D, 0, 3, textureinfo.Width, textureinfo.Height, 0, GL_RGB, GL_UNSIGNED_BYTE, textureinfo.Data);