When launching a Source engine game (CS:S, HL², L4D2 or TF2 for instance) with Mesa in debug mode, I get many errors:
Mesa: User error: GL_INVALID_ENUM in glMatrixMode(mode)
They comes just by staying in the menu of these games.
They arise from "mesa/src/mesa/main/matrix.c", in function "void GLAPIENTRY _mesa_MatrixMode( GLenum mode )".
It looks like the Source engine set a "mode" value to 0x1800 (6144 in decimal) which correspond to the GL value of "GL_COLOR" which as far as I know is not a correct value here.
When launching a Source engine game (CS:S, HL², L4D2 or TF2 for instance) with Mesa in debug mode, I get many errors:
Mesa: User error: GL_INVALID_ENUM in glMatrixMode(mode)
They comes just by staying in the menu of these games.
They arise from "mesa/src/mesa/main/matrix.c", in function "void GLAPIENTRY _mesa_MatrixMode( GLenum mode )".
It looks like the Source engine set a "mode" value to 0x1800 (6144 in decimal) which correspond to the GL value of "GL_COLOR" which as far as I know is not a correct value here.
Configuration:
Fedora 19 x86-64
Kernel 3.12.11
Mesa 10.2.0-devel (git-1020d89)
AMD CYPRESS (Radeon HD5850)