mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-13 03:28:19 +00:00
fixed last commit
This commit is contained in:
parent
1cfbfda6fa
commit
2948d2392b
|
@ -180,9 +180,9 @@ void CCommandProcessorFragment_OpenGL::Cmd_Texture_Create(const CCommandBuffer::
|
||||||
{
|
{
|
||||||
switch(StoreOglformat)
|
switch(StoreOglformat)
|
||||||
{
|
{
|
||||||
case GL_RGB: StoreOglformat = GL_COMPRESSED_RGB_ARB;
|
case GL_RGB: StoreOglformat = GL_COMPRESSED_RGB_ARB; break;
|
||||||
case GL_ALPHA: StoreOglformat = GL_COMPRESSED_ALPHA_ARB;
|
case GL_ALPHA: StoreOglformat = GL_COMPRESSED_ALPHA_ARB; break;
|
||||||
case GL_RGBA: StoreOglformat = GL_COMPRESSED_RGBA_ARB;
|
case GL_RGBA: StoreOglformat = GL_COMPRESSED_RGBA_ARB; break;
|
||||||
default: StoreOglformat = GL_COMPRESSED_RGBA_ARB;
|
default: StoreOglformat = GL_COMPRESSED_RGBA_ARB;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue