Go Back   nV News Forums > Linux Support Forums > NVIDIA Linux

Newegg Daily Deals

Reply
 
Thread Tools
Old 02-08-06, 07:55 AM   #1
orbit
Registered User
 
Join Date: Feb 2005
Posts: 4
Default gl_FragData warning with glsl

I am using FBOs and MRTs and linux with NVIDIA 81.78 linux driver.

I get the following warning when compiling my GLSL fragment shader that writes to gl_FragData[0] and gl_FragData[1]:
warning C7506: OpenGL does not define the global variable gl_FragData

As i said the program works but i just wonder why i get a warning?


simple shader source follows:

const char* source =
"void main(void){"
" gl_FragData[0] = 0.0;"
" gl_FragData[1] = 2.0;"
"}"
"";
orbit is offline   Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


Similar Threads
Thread Thread Starter Forum Replies Last Post
Warning from NVIDia with ubuntu 12.04 KnutJorgen NVIDIA Linux 7 11-08-12 12:46 PM
295.40 295 cannot be compiled on 3.2 kernel delta32 NVIDIA Linux 4 05-27-12 10:47 PM
Pirates Beware: DVD Anti-Piracy Warning Now Twice as Fierce News Archived News Items 0 05-09-12 03:10 AM
Warning about Detonator 40.41 and UT2003 Gator Gaming Central 21 09-19-02 11:16 AM

All times are GMT -5. The time now is 06:44 PM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.