mirror of
https://github.com/Lime3DS/Lime3DS.git
synced 2024-11-01 16:05:07 +01:00
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:
parent
46f18d6800
commit
c4ff0ba137
@ -20,9 +20,9 @@ constexpr TextureUnit PicaTexture(int unit) {
|
||||
return TextureUnit{unit};
|
||||
}
|
||||
|
||||
constexpr TextureUnit TextureCube{10};
|
||||
constexpr TextureUnit TextureBufferLUT_RG{11};
|
||||
constexpr TextureUnit TextureBufferLUT_RGBA{12};
|
||||
constexpr TextureUnit TextureCube{3};
|
||||
constexpr TextureUnit TextureBufferLUT_RG{4};
|
||||
constexpr TextureUnit TextureBufferLUT_RGBA{5};
|
||||
|
||||
} // namespace TextureUnits
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user