From 2948d2392b509c5cc743d517687a8d941e4ef9d0 Mon Sep 17 00:00:00 2001 From: oy Date: Sat, 6 Oct 2012 13:24:31 +0200 Subject: [PATCH] fixed last commit --- src/engine/client/backend_sdl.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/engine/client/backend_sdl.cpp b/src/engine/client/backend_sdl.cpp index 7fa1db77a..5f57fa302 100644 --- a/src/engine/client/backend_sdl.cpp +++ b/src/engine/client/backend_sdl.cpp @@ -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; } }