View Full Version : How do you query which is the active texture unit
05-29-2009, 01:02 AM
... in multitexturing?
That is the question Thanks!
05-29-2009, 05:06 AM
you use glGet with GL_ACTIVE_TEXTURE as the first parameter
but i would think it's faster just to tell it which one should be active, or just keep track of it yourself using a simple variable.
05-29-2009, 09:47 AM
I realized after 2 hours of debugging that I don't need to query it after all, but I can't remove the topic :P
Powered by vBulletin® Version 4.2.2 Copyright © 2015 vBulletin Solutions, Inc. All rights reserved.