#165 smooth_opengl3 demo fails with glError invalid operation

closed-fixed
nobody
None
5
2012-08-06
2012-03-02
Neil Mannall
No

The smooth_opengl3 demo fails with a glError invalid operation on call to gl_VertexAttribPointer in triangle(void).

Running on OpenGL 3.3 compliant Nvidia Quadro FX 1700.

Appears to need calls to glGenVertexArrays and glBindVertexArray in initBuffer(void) before gl_GenBuffers called. (Plus of course relevant mods to initExtensionEntries(void) etc, to gain access to glGenVertexArrays and glBindVertexArray.)

Discussion

  • Neil Mannall
    Neil Mannall
    2012-03-02

    Patch file

     
  • Neil Mannall
    Neil Mannall
    2012-03-02

    Have uploaded patch file with mods which get this working on my machine.

     
  • Thanks for the patch! I've added it in r1371

     
    • status: open --> closed-fixed