Hi,

try without the version and just
#extension GL_ARB_texture_rectangle : enable

jp

On 17/01/2012 20:15, wang shuiying wrote:
Hello,

my shader compile stage throws out such warnings:

0(8) : warning C7532: global type sampler2DRect requires "#version 140"
or later
0(8) : warning C0000: ... or #extension GL_ARB_texture_rectangle : enable

and Then I add

#version 140
#extension GL_ARB_texture_rectangle : enable

at the very head of the shader file, but the warnings remain.

So how can I check whether my programm is able to use

#version 140
#extension GL_ARB_texture_rectangle : enable
?

Thank you very much in advance.
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

--
This message is subject to the CSIR's copyright terms and conditions, e-mail legal notice, and implemented Open Document Format (ODF) standard. The full disclaimer details can be found at http://www.csir.co.za/disclaimer.html.

This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.

_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to