summaryrefslogtreecommitdiff
path: root/indra/llwindow/llwindowheadless.h
diff options
context:
space:
mode:
authorVir Linden <vir@lindenlab.com>2021-11-09 21:39:47 +0000
committerVir Linden <vir@lindenlab.com>2021-11-09 21:39:47 +0000
commit4d0010d1fcb22ce0672d2667d73f5a612c600e14 (patch)
tree66e2029a1eb2d82c2c21a39e9772c42319f7a155 /indra/llwindow/llwindowheadless.h
parentca0b9a3753fa3b42d4ac8183adcf30d957f55016 (diff)
parent768b7a4d33b64dc3e9d7f7c0c384bb2aa37b458b (diff)
Merged DRTVWR-546 into SL-16329
Diffstat (limited to 'indra/llwindow/llwindowheadless.h')
-rw-r--r--indra/llwindow/llwindowheadless.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/indra/llwindow/llwindowheadless.h b/indra/llwindow/llwindowheadless.h
index f8ba9bbed4..78c5e4bae4 100644
--- a/indra/llwindow/llwindowheadless.h
+++ b/indra/llwindow/llwindowheadless.h
@@ -48,13 +48,14 @@ public:
/*virtual*/ BOOL setPosition(LLCoordScreen position) {return FALSE;};
/*virtual*/ BOOL setSizeImpl(LLCoordScreen size) {return FALSE;};
/*virtual*/ BOOL setSizeImpl(LLCoordWindow size) {return FALSE;};
- /*virtual*/ BOOL switchContext(BOOL fullscreen, const LLCoordScreen &size, BOOL disable_vsync, const LLCoordScreen * const posp = NULL) {return FALSE;};
+ /*virtual*/ BOOL switchContext(BOOL fullscreen, const LLCoordScreen &size, BOOL enable_vsync, const LLCoordScreen * const posp = NULL) {return FALSE;};
void* createSharedContext() { return nullptr; }
void makeContextCurrent(void*) {}
void destroySharedContext(void*) {}
/*virtual*/ BOOL setCursorPosition(LLCoordWindow position) {return FALSE;};
/*virtual*/ BOOL getCursorPosition(LLCoordWindow *position) {return FALSE;};
#if LL_WINDOWS
+ /*virtual*/ virtual void toggleVSync(bool enable_vsync) { }
/*virtual*/ BOOL getCursorDelta(LLCoordCommon* delta) { return FALSE; }
#endif
/*virtual*/ void showCursor() {};
@@ -103,7 +104,7 @@ public:
S32 x, S32 y,
S32 width, S32 height,
U32 flags, BOOL fullscreen, BOOL clear_background,
- BOOL disable_vsync, BOOL use_gl, BOOL ignore_pixel_depth);
+ BOOL enable_vsync, BOOL use_gl, BOOL ignore_pixel_depth);
virtual ~LLWindowHeadless();
private: