Original Post
Hi all
I'm implementing some OpenGL examples in dolphin smalltalk for Window XP.
The examples are from the book: "Beginning OpenGL game programming". (Dave Astle. Kevin Hawkins)
The first examples work ok , but the texture examples don't work well !.
Look this screens:
First: I load the example working well
Second: I load other example and work well
Third: I load again the first example and happen this:
Look at the texture of the first polygon, this texture it is the same of the second example!.
But the second example is dead and the textures are eliminated
I use glCheckError in all function call and all work well.
The strange thing is that this behavior is aleatory.
I suspect that the problem can be related with:
1) The texture settings.
2) The delete of the textures
3) The opengl context settings.
The problem is that my example is the same like the C++ example.
Any idea ?
Advanced thanks kiko
PD: Here more screens