Results 1 to 3 of 3

Thread: Version Error

  1. #1
    Member Contributor
    Join Date
    Jul 2004
    Dalian China

    Version Error

    I am using the parameters that GL_BGR in this function:
    glReadPixels(0, 0, m_ViewPort.x, m_ViewPort.y, GL_RGB, GL_UNSIGNED_BYTE, GetDocument()->CreateScreenImage(m_ViewPort.x, m_ViewPort.y));

    it can not pass compile because that the compiler visual studio has a head file gl.h that is in vision 1.1
    I had read about the key words"GL_BGR" is start supported by vision 1.2.
    what can I do?
    download a gl.h which in vision 1.2 in windows?
    I can not find it!

  2. #2
    Senior Member Regular Contributor
    Join Date
    Aug 2004
    Angers, France

    Re: Version Error

    Hi aQ,
    Microsoft stop update OpenGL on windows since 1996, the actual version is 1.1, if you want to use latest OpenGL version, use extensions as said on Extension page

    hope that helps
    The .Product will make you .Believe

  3. #3

    Re: Version Error


Similar Threads

  1. EGL, glewInit error: Missing gl version
    By ErwanDouaille in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 11-28-2017, 06:53 AM
  2. Shader Compile Error: ERROR: 0:1: '' : syntax error #version
    By Blakeasd in forum OpenGL: Basic Coding
    Replies: 12
    Last Post: 07-25-2013, 07:35 PM
  3. glew Missing GL Version error
    By obeseogre in forum OpenGL: GLSL
    Replies: 14
    Last Post: 06-05-2011, 02:48 AM
  4. ERROR: Missing GL version
    By Brooksy in forum OpenGL: GLSL
    Replies: 2
    Last Post: 03-06-2006, 03:31 PM
  5. link error in release version
    By bigdavid in forum OpenGL: Basic Coding
    Replies: 2
    Last Post: 07-22-2004, 10:12 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
Proudly hosted by Digital Ocean