Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 4 of 4

Thread: error 1280 with glGetError()

  1. #1
    Junior Member Regular Contributor
    Join Date
    Oct 2003
    Location
    Arlington, Tx, USA
    Posts
    178

    error 1280 with glGetError()

    i dont know whatz wrong but everywher i put the code
    intI = glGetError()
    i get the value 1280 which is : GL_INVALID_ENUM.
    even when i put it at the begining of the initialization routine.

  2. #2
    Senior Member OpenGL Guru
    Join Date
    Feb 2000
    Location
    Sweden
    Posts
    2,982

    Re: error 1280 with glGetError()

    I bet you don't have an active rendering context.

    edit: Or maybe that's not it. If it was GL_INVALID_OPERATION, it would be more likely a missing RC. But check the RC anyway.

    [This message has been edited by Bob (edited 11-26-2003).]

  3. #3
    Junior Member Regular Contributor
    Join Date
    Oct 2003
    Location
    Arlington, Tx, USA
    Posts
    178

    Re: error 1280 with glGetError()

    Originally posted by Bob:
    I bet you don't have an active rendering context.

    edit: Or maybe that's not it. If it was GL_INVALID_OPERATION, it would be more likely a missing RC. But check the RC anyway.

    [This message has been edited by Bob (edited 11-26-2003).]
    my RC and my DC are both active. im able to draw anything i want. its just that when im applying textures that im not able to c the texture mapping. that is when i thought i'll get the error value and i found that the value 1280 is being returned everytime.

    *** im using VB6.

  4. #4
    Advanced Member Frequent Contributor
    Join Date
    Oct 2001
    Posts
    596

    Re: error 1280 with glGetError()

    you should find out WHEN your getting that error.. glGetError Clears the error buffer so

    glGetError();
    the suspectedcode;
    res=glGetError();
    check res..

    and narrow it down..

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •