DarthMike / indielib-crossplatform

IndieLib is a cross-platform Game Graphics engine. Main focus is OpenGL ES 2.0 for mobile iOS operating system, and OpenGL desktop. **NOT SUPPORTED ANYMORE**
zlib License
61 stars 27 forks source link

Tutorial 08 and manual test SurfaceTests_textBlock doesn't blit correctly in OpenGL #29

Closed DarthMike closed 12 years ago

DarthMike commented 12 years ago

Run test and you will see that blocked texture is animating properly, but it's not rendering every subtexture in a correct matter.

It seems that it's taking texture data from somewhere else or even from a different texture altogether.

DarthMike commented 12 years ago

Investigating, as a side note, noticed that actual textured result is:

  1. always same after different runs (denotes texture data is taken from same place all the time)
  2. different if you run test by commenting all other ''manual' ones, or just run it together with it (texture ID?)