View Full Version : glDeleteTextures problem
04-27-2008, 09:47 PM
I tried to load textures that are used by shaders at the first frame and delete them later.The first frame got right,but as to later frames,the rendering results of the fixed pipeline are wrong.For example the color of outline rendered by fixed pipeline is always black.But if I load textures and delete them every frame ,the result got right.It's so weird.Hope someone would help.
04-28-2008, 01:12 AM
This is most likely a problem in your code. Are you sure you are binding the correct texture objects?
04-28-2008, 01:27 AM
glGenTextures (5, &(this->texname));
Yes,I'm sure the binding is correct.But after texturing, it had an effect on other drawing process without texturing.
Powered by vBulletin® Version 4.2.3 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.