Re: GLSL windows binary
  Home FAQ Contact Sign in
comp.graphics.api.opengl only
 
Advanced search
POPULAR GROUPS

more...

comp.graphics.api.opengl Profile…
 Up
Re: GLSL windows binary         


Author: folays
Date: Jun 12, 2008 06:59

swtsvn gmail.com> writes:
> Hi,
> I am learning GLSL, and trying to install it on my windows xp machine
> with MINGW compiler
> could anyone please direct me to where i could download glsl windows
> binary.

It does not work like that. GLSL binary stuff is provided by the drivers
of your graphic video card.

The only thing that you may need beyond your compiler is:
- A good tutorial on how to set up and using glsl shaders
- glext.h (google for it) which is a handy file #define'ing preprocessors
macro that you can further use to declare your own function pointers to
GLSL ARB functions.

Windows XP client OpenGL API version is 1.1, which does not know anything
about shaders, that why you have to use the OpenGL extension mechanism to
get pointers of function related to GLSL, those being located in the driver.

So what you will have to do once the opengl context created is to load
function pointers via wglXGetProcAddress (or something named like that),
then use those function pointers.
Show full article (1.02Kb)
no comments

RELATED THREADS
SubjectArticles qty Group
Windows XP and Windows Vista ExpertZone chat tomorrow, June 5th 10am PSTmicrosoft.public.windows.vista.mail ·
ANN: Windows Vista SP1 IS On Microsoft Windows Vista Connect, Just FYI.microsoft.public.windows.vista.general ·