mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 18:18:18 +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)
|
||||
{
|
||||
case GL_RGB: StoreOglformat = GL_COMPRESSED_RGB_ARB;
|
||||
case GL_ALPHA: StoreOglformat = GL_COMPRESSED_ALPHA_ARB;
|
||||
case GL_RGBA: StoreOglformat = GL_COMPRESSED_RGBA_ARB;
|
||||
case GL_RGB: StoreOglformat = GL_COMPRESSED_RGB_ARB; break;
|
||||
case GL_ALPHA: StoreOglformat = GL_COMPRESSED_ALPHA_ARB; break;
|
||||
case GL_RGBA: StoreOglformat = GL_COMPRESSED_RGBA_ARB; break;
|
||||
default: StoreOglformat = GL_COMPRESSED_RGBA_ARB;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue