flat assembler
Message board for the users of flat assembler.

Index > Main > OpenGL problem

Author
Thread Post new topic Reply to topic
Rahsennor



Joined: 07 Jul 2007
Posts: 61
Rahsennor 17 May 2008, 07:44
The answer is probably staring me in the face, but I can't see it: whenever I call glBindTexture with a nonzero value, texturing breaks. Confused When I use zero, it works again.

I'm out of ideas. Embarassed

EDIT: Whoops, code.


Description:
Download
Filename: OpenGL Problem.asm
Filesize: 6.19 KB
Downloaded: 270 Time(s)

Post 17 May 2008, 07:44
View user's profile Send private message Reply with quote
Rahsennor



Joined: 07 Jul 2007
Posts: 61
Rahsennor 20 May 2008, 08:54
Shocked Mad Embarassed
Problem solved. glBindTexture also switches texture parameters, breaking mipmapping. How'd I miss that?
Post 20 May 2008, 08:54
View user's profile Send private message Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.