google-code-export / wagic

Automatically exported from code.google.com/p/wagic
1 stars 0 forks source link

Bad handling of OpenGL errors #484

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Launch wagic on N900
2. in the deck builder, most of the cards graphics are not displayed
3. in games, sometimes cards are massively downscaled

What version of the product are you using? On what operating system?
N900, 0.13.1maemo0

Please provide any additional information below.
- OpenGL errors stays up while they are not read, so as we had only one 
function checking them (the texture managing one), the texture were sometimes 
deactivated. 
- The problem appears only on the N900 because, the root cause of the problem, 
glEnable/glDisable(GL_TEXTURE_2D) is not supported by opengl ES 2.0.

Original issue reported on code.google.com by Yann.Bie...@gmail.com on 9 Oct 2010 at 10:04

GoogleCodeExporter commented 9 years ago
This has been fixed long time ago, we now have a nice macro that we can use to 
read opengl error in debug.

Original comment by Xawot...@gmail.com on 22 Dec 2010 at 2:49