From 5f2184ef6cd49aa798c5fd46b833d005675bd3d2 Mon Sep 17 00:00:00 2001 From: kervala Date: Mon, 20 Dec 2010 23:47:11 +0100 Subject: [PATCH] Changed: #825 Remove all warnings when compiling Ryzom --- .../src/3d/driver/opengl/driver_opengl_vertex_buffer_hard.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/code/nel/src/3d/driver/opengl/driver_opengl_vertex_buffer_hard.cpp b/code/nel/src/3d/driver/opengl/driver_opengl_vertex_buffer_hard.cpp index 0d6daae3d..7eadb54a8 100644 --- a/code/nel/src/3d/driver/opengl/driver_opengl_vertex_buffer_hard.cpp +++ b/code/nel/src/3d/driver/opengl/driver_opengl_vertex_buffer_hard.cpp @@ -116,6 +116,8 @@ bool CVertexArrayRangeNVidia::allocate(uint32 size, CVertexBuffer::TPreferredM else _VertexArrayPtr= nwglAllocateMemoryNV(size, 0, 0, 0.5f); break; + default: + break; } #elif defined(NL_OS_UNIX) && !defined(NL_OS_MAC) switch(vbType) @@ -129,6 +131,8 @@ bool CVertexArrayRangeNVidia::allocate(uint32 size, CVertexBuffer::TPreferredM else _VertexArrayPtr= nglXAllocateMemoryNV(size, 0, 0, 0.5f); break; + default: + break; } #endif // NL_OS_WINDOWS