problem with glGenTextures
hi @ll !
i wrote a little program with a main.cpp where i created some textures in an array (with glGenTextures).. these textures run without a problem
now i created an object (shall be a 3d-object) wich (in its constructor) creates some more textures (which are only for this object-instance, and so isn''t needed in the main-prog)
with glGenTextures.
but when i try to paint the 3d-object, it''s totally white.
i controlled the texture array
(from glGenTextures(1, &textur[0]) with a debugger and i found out : all fields in the array are "0" .... why is that so ??
in some way glGenTextures desnt run well ... but what did i do wrong ?
the images are loaded and eve3rything shall be fine ...
please help me !!!
thank u !
nebular
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement