Always private
DuckDuckGo never tracks your searches.
Learn More
You can hide this reminder in Search Settings
All regions
Argentina
Australia
Austria
Belgium (fr)
Belgium (nl)
Brazil
Bulgaria
Canada (en)
Canada (fr)
Catalonia
Chile
China
Colombia
Croatia
Czech Republic
Denmark
Estonia
Finland
France
Germany
Greece
Hong Kong
Hungary
Iceland
India (en)
Indonesia (en)
Ireland
Israel (en)
Italy
Japan
Korea
Latvia
Lithuania
Malaysia (en)
Mexico
Netherlands
New Zealand
Norway
Pakistan (en)
Peru
Philippines (en)
Poland
Portugal
Romania
Russia
Saudi Arabia
Singapore
Slovakia
Slovenia
South Africa
Spain (ca)
Spain (es)
Sweden
Switzerland (de)
Switzerland (fr)
Taiwan
Thailand (en)
Turkey
Ukraine
United Kingdom
US (English)
US (Spanish)
Vietnam (en)
Safe search: moderate
Strict
Moderate
Off
Any time
Any time
Past day
Past week
Past month
Past year
  1. stackoverflow.com

    It is worth mentioning that GL_ARB_debug_output is often only listed in the extensions string if you create a special debug context. This sometimes leads people to believe that their implementation does not support the extension when it actually does.
  2. GL_INVALID_ENUM, 0x0500 Given when an enumeration parameter is not a legal enumeration for that function. This is given only for local problems; if the spec allows the enumeration in certain circumstances, where other parameters or state dictate those circumstances, then GL_INVALID_OPERATION is the result instead. GL_INVALID_VALUE, 0x0501
  3. community.khronos.org

    I am initializing my OpenGL context and in the middle of setting up stuff like glPolygonMode(GL_FRONT_AND_BACK, GL_FILL), glEnable(GL_DEPTH_TEST), etc. when I make a call to glEnable(GL_TEXTURE_2D) I get the following ENUM error: "GL_INVALID_ENUM" I looked up the function: glEnable And no fragment shader is active when I call it on my open ...
  4. community.khronos.org

    GL_INVALID_ENUM (1280 or 0x0500) …According to the card this texture state change is not deprecated so it should work? In a modern core profile, there is no "fixed-function pipeline" (i.e. built-in shader generator). glEnable( GL_TEXTURE_2D) is a directive to the fixed-function pipeline's shader generator that you want to include code ...
  5. community.khronos.org

    Hi, I got a bunch of these errors with a project and decided to create a small test as to where they were coming from. here are the errors: OpenGL callback: glIsEnabled parameter has an invalid enum '0xb50': not supported by the current context's type, version or attributes (GL_INVALID_ENUM) Source: 33350, Type: 33356, ID: 1005, Severity: 37190 OpenGL callback: glDisable parameter has an ...
  6. gamedev.stackexchange.com

    GL_INVALID_ENUM , 0x0500: Given when an enumeration parameter is not a legal enumeration for that function. This is given only for local problems; if the spec allows the enumeration in certain circumstances, and other parameters or state dictate those circumstances, then GL_INVALID_OPERATION is the result instead.
  7. computergraphics.stackexchange.com

    glDrawArrays is failing with GL_INVALID_ENUM. Ask Question Asked 7 years, 8 months ago. Modified 6 years, 8 months ago. Viewed 1k times 1 $\begingroup$ I'm on OpenGL ES 3.0 using Mesa 17.0.3. When calling glDrawArrays(GL_TRIANGLE_FAN, 0, 4), glGetError() returns GL_INVALID_ENUM. I have no idea what's ...
  8. minecraftforum.net

    " OpenGL Error: 1280 (Invalid enum) "#1 Feb 4, 2019. SuperCore. SuperCore. View User Profile View Posts Send Message Coal Miner; Join Date: 11/8/2016 Posts: 12 Location: Romania, Bucharest Minecraft: SuperCore PSN: Blue ...
  9. community.khronos.org

    Can anyone tell me why this gives an invalid enum error? glTrackMatrixNV(GL_VERTEX_PROGRAM_NV, 12, GL_TEXTURE0_ARB, GL_IDENTITY_NV); Thanks. opla February 13, 2002, 11:59pm 2. GL_TEXTURE0_ARB. glTrackMatrixNV is to use with matrices. If you want to use the texture matrix, use GL_TEXTURE (from the doc: matrix must be one of NONE, MODELVIEW ...
  10. Can’t find what you’re looking for?

    Help us improve DuckDuckGo searches with your feedback

    • Do error = glGetError(); after each other call to the GL API for obvious reasons
    • Note, that glGetError() may return multiple error enumerators, so you'd need to call this function in a loop until it returns GL_NO_ERROR or the errors will remain. Clearing errors this way before calling another GL function is possibly also necessary (one does usually not want to clear errors after every single GL call). However, I encountered sort of a bug lately, which caused an endless loop because glGetError() continuously returned the same error.
    • Attach the gDEBugger, to avoid error check clutter
    • If available (at runtime), use ARB_debug_output in a debug mode of your program, for the same reason.

    --Sam

    Was this helpful?
Custom date rangeX