What opengl states does /reload reset? It fixes ati bug

What opengl states does /reload reset? It fixes ati bug

Discuss the source code and development of Spring Engine in general from a technical point of view. Patches go here too.

Moderator: Moderators

Post Reply
User avatar
Licho
Zero-K Developer
Posts: 3803
Joined: 19 May 2006, 19:13

What opengl states does /reload reset? It fixes ati bug

Post by Licho »

With recent drivers, there is a problem with minimap notifications widget (the widget that shows circles on damage on minimap).

Circles are painted but they are all white, except for properly colored outline.

This can be fixed by doing /reload but doing gl.ResetStates or ResetMatrices has no effect.

What state could it be?
User avatar
Licho
Zero-K Developer
Posts: 3803
Joined: 19 May 2006, 19:13

Re: What opengl states does /reload reset? It fixes ati bug

Post by Licho »

jK solved it, bug happens if display lists are created in widget initialize. If t lists are created in callin all works properly.
Post Reply

Return to “Engine”