aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/llwindow/llwindowmesaheadless.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--linden/indra/llwindow/llwindowmesaheadless.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/linden/indra/llwindow/llwindowmesaheadless.cpp b/linden/indra/llwindow/llwindowmesaheadless.cpp
index 01b00af..0ffd4e3 100644
--- a/linden/indra/llwindow/llwindowmesaheadless.cpp
+++ b/linden/indra/llwindow/llwindowmesaheadless.cpp
@@ -29,14 +29,11 @@
29 * $/LicenseInfo$ 29 * $/LicenseInfo$
30 */ 30 */
31 31
32#if LL_MESA_HEADLESS
33
34#include "linden_common.h" 32#include "linden_common.h"
35#include "indra_constants.h" 33#include "indra_constants.h"
36 34
37#include "llwindowmesaheadless.h" 35#include "llwindowmesaheadless.h"
38#include "llgl.h" 36#include "llgl.h"
39#include "llglheaders.h"
40 37
41#define MESA_CHANNEL_TYPE GL_UNSIGNED_SHORT 38#define MESA_CHANNEL_TYPE GL_UNSIGNED_SHORT
42#define MESA_CHANNEL_SIZE 2 39#define MESA_CHANNEL_SIZE 2
@@ -46,7 +43,7 @@ U16 *gMesaBuffer = NULL;
46// 43//
47// LLWindowMesaHeadless 44// LLWindowMesaHeadless
48// 45//
49LLWindowMesaHeadless::LLWindowMesaHeadless(char *title, char *name, S32 x, S32 y, S32 width, S32 height, 46LLWindowMesaHeadless::LLWindowMesaHeadless(const std::string& title, const std::string& name, S32 x, S32 y, S32 width, S32 height,
50 U32 flags, BOOL fullscreen, BOOL clearBg, 47 U32 flags, BOOL fullscreen, BOOL clearBg,
51 BOOL disable_vsync, BOOL use_gl, BOOL ignore_pixel_depth) 48 BOOL disable_vsync, BOOL use_gl, BOOL ignore_pixel_depth)
52 : LLWindow(fullscreen, flags) 49 : LLWindow(fullscreen, flags)
@@ -83,5 +80,3 @@ void LLWindowMesaHeadless::swapBuffers()
83{ 80{
84 glFinish(); 81 glFinish();
85} 82}
86
87#endif