View Single Post
Old 01-19-06, 04:46 AM   #1
Morgothfr
Registered User
 
Join Date: Jan 2006
Posts: 1
Default 1.0-8178, GLSL and ARB_texture_non_power_of_two

Hi,

I use ARB_texture_non_power_of_two extension, and it works without shaders. When I use shader, I get a black screen. I read some tips about sampler2DRect type and texture2DRect in GLSL, but I can't compile mys shaders with these one.
Code:
(9) : warning C7506: OpenGL does not define the global type sampler2DRect
(46) : warning C7506: OpenGL does not define the global function texture2DRect
What can I do ?

Thanks
Morgothfr is offline   Reply With Quote