]> git.tdb.fi Git - libs/gl.git/commit
Decouple DataType from the OpenGL constants
authorMikko Rasa <tdb@tdb.fi>
Sat, 20 Mar 2021 11:44:09 +0000 (13:44 +0200)
committerMikko Rasa <tdb@tdb.fi>
Sat, 20 Mar 2021 11:44:09 +0000 (13:44 +0200)
commitefb45a6851563cdb8077b6aad3ab92d4006d8790
tree7902bcb922b60dd29e0bfe280592e8b744c44512
parent4fb346536bfefd612635a248f558b1f1471deae6
Decouple DataType from the OpenGL constants

This allows defining the values so that manipulation of related types is
easier.  And I can't keep relying on the GL values anyway, with the goal
of adding a Vulkan backend.
source/core/batch.cpp
source/core/batch.h
source/core/datatype.cpp
source/core/datatype.h
source/core/texture1d.cpp
source/core/texture2d.cpp
source/core/texture3d.cpp
source/core/texturecube.cpp