ES 1.0 didn't have glTexParameteri, which is why we sometimes used glTexParameterf. However, we shouldn't use glTexParameterf because that's treating integer values as floating point, which is not type safe. ES 1.1+ and ES 2.x have glTexParameteri, and we don't really care about supporting ES 1.0 in any case in Qt 5. Change-Id: I6b586b31ddc418ba319c4cc88f6bb3978fdbd040 Reviewed-by: Kim M. Kalland <kim.kalland@nokia.com> |
||
|---|---|---|
| .. | ||
| cube.desktop | ||
| cube.png | ||
| cube.pro | ||
| fshader.glsl | ||
| geometryengine.cpp | ||
| geometryengine.h | ||
| main.cpp | ||
| mainwidget.cpp | ||
| mainwidget.h | ||
| shaders.qrc | ||
| textures.qrc | ||
| vshader.glsl | ||