NO

Author Topic: glGetString( GL_SHADING_LANGUAGE_VERSION )  (Read 3956 times)

ntfs.hard

  • Guest
glGetString( GL_SHADING_LANGUAGE_VERSION )
« on: March 31, 2013, 05:30:53 PM »
Hello! Thanks so much for Pelles C!
But it will be greater if you can fix(?) opengl header files.
There is no GL_SHADING_LANGUAGE_VERSION and GL_SHADING_LANGUAGE_VERSION_ARB definiton.

For example, on my opensuse 12.3 it defined in glext.h as
Code: [Select]
#define GL_SHADING_LANGUAGE_VERSION       0x8B8C
#define GL_SHADING_LANGUAGE_VERSION_ARB   0x8B8C

An attached file building fine on linux:
    gcc main.c -lglut -lGLU -lGL -Wall

Sorry for my bad language. All the best, ntfs.hard.
ref:
    OpenGL spec 4.3: [22.2]

iZzz32

  • Guest
Re: glGetString( GL_SHADING_LANGUAGE_VERSION )
« Reply #1 on: April 15, 2013, 09:28:21 PM »
Because extensions vary from platform to platform and driver to driver, OpenGL developers can't expect interfaces for all extensions to be defined in the standard gl.h, glx.h, and wgl.h header files. Additional header files - glext.h, glxext.h, and wglext.h - are provided here.
« Last Edit: April 17, 2013, 10:08:45 PM by Stefan Pendl »