Skip to main content
gamedev.net
🔒 Locked

Untitled

Started by kikosmalltalk Sep 7, 2010 at 7:18 AM 0 replies 700+ views
Original Post
kikosmalltalk
kikosmalltalk


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


t15274_texture1.JPG


Second: I load other example and work well

t15276_texture3.JPG



Third: I load again the first example and happen this:


t15275_texture2.JPG




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


t15064_Texture4.JPG

t15062_Texture1.JPG

t15063_Texture3.JPG





Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.