Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#1151 closed defect (worksforme)

GL_INVALID_OPERATION

Reported by: fabio Owned by:
Priority: Should Have Milestone: Alpha 9
Component: Core engine Keywords:
Cc: Patch:

Description

Using current SVN + mesa compiled with --enable-dubug I get the following errors. This is not 100% reproducible, it happens on current default map after a while, when selecting all initial soldiers and moving them around.

Mesa: User error: GL_INVALID_OPERATION in glUniform(location=13)
GL_INVALID_OPERATION
OpenGL error(s) occurred: 0502
Mesa: User error: GL_INVALID_OPERATION in glUniform(location=19)
GL_INVALID_OPERATION
OpenGL error(s) occurred: 0502
Mesa: User error: GL_INVALID_OPERATION in glUniform(location=19)
GL_INVALID_OPERATION
OpenGL error(s) occurred: 0502
...

Change History (4)

comment:1 by fabio, 12 years ago

Milestone: BacklogAlpha 9

comment:2 by historic_bruno, 12 years ago

Hmm there's a lot of potential causes of GL_INVALID_OPERATION errors in glUniform. If it's not easily reproducible, it seems hard to troubleshoot without knowing the parameters that caused the error. Any chance you could place some breakpoints and get more info? Maybe gDEBugger can help.

comment:3 by fabio, 12 years ago

Resolution: worksforme
Status: newclosed

I am no longer experiencing this. Closing for now, I'll reopen if I can reproduce it again.

comment:4 by Philip Taylor, 12 years ago

I think this is most likely to have been triggered by the GLSL water shader, due to the bug fixed in r11063 (incorrect uniform locations).

Note: See TracTickets for help on using tickets.