1
0
Fork 0

renderer_opengl: Renumber all texture units.

We spend lots of texture units for our texture buffers. As they are now feed from
one buffer, there is no need to have the big gap in the list of IDs.
This commit is contained in:
Markus Wick 2018-06-22 17:21:28 +02:00
parent 46f18d6800
commit c4ff0ba137
1 changed files with 3 additions and 3 deletions

View File

@ -20,9 +20,9 @@ constexpr TextureUnit PicaTexture(int unit) {
return TextureUnit{unit}; return TextureUnit{unit};
} }
constexpr TextureUnit TextureCube{10}; constexpr TextureUnit TextureCube{3};
constexpr TextureUnit TextureBufferLUT_RG{11}; constexpr TextureUnit TextureBufferLUT_RG{4};
constexpr TextureUnit TextureBufferLUT_RGBA{12}; constexpr TextureUnit TextureBufferLUT_RGBA{5};
} // namespace TextureUnits } // namespace TextureUnits