]> git.tdb.fi Git - libs/gl.git/commit
Use UNSIGNED_SHORT for allocating DEPTH_COMPONENT textures
authorMikko Rasa <tdb@tdb.fi>
Sat, 23 Jan 2016 02:56:04 +0000 (04:56 +0200)
committerMikko Rasa <tdb@tdb.fi>
Sat, 23 Jan 2016 02:56:04 +0000 (04:56 +0200)
commitf35535633aab06e80f0666d8551431364654c6dc
treee3da34341cb72fdd5db67832090bb84c267b808e
parent782344299d402dfc7e4eb038bba876d7455f50f5
Use UNSIGNED_SHORT for allocating DEPTH_COMPONENT textures

OpenGL ES doesn't accept DEPTH_COMPONENT together with BYTE types.
source/texture.cpp
source/texture.h
source/texture1d.cpp
source/texture1d.h
source/texture2d.cpp
source/texture2d.h
source/texture3d.cpp
source/texture3d.h
source/texturecube.cpp
source/texturecube.h