Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrecht Van Lommel <brechtvanlommel@gmail.com>2018-07-20 16:12:36 +0300
committerBrecht Van Lommel <brechtvanlommel@gmail.com>2018-07-20 16:25:47 +0300
commitb3b4b9fb8c255d2ec7cc7433ffcafef6311da6e9 (patch)
tree19ef8159594709ddbb031f4963b9bae5453faf96 /intern/ghost/intern/GHOST_SystemNULL.h
parent72cbf966fb9194edbe6fa82cfd02540dc306184a (diff)
Fix WITH_HEADLESS build.
Diffstat (limited to 'intern/ghost/intern/GHOST_SystemNULL.h')
-rw-r--r--intern/ghost/intern/GHOST_SystemNULL.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/intern/ghost/intern/GHOST_SystemNULL.h b/intern/ghost/intern/GHOST_SystemNULL.h
index 7c8d26d7486..ac3dfd71d63 100644
--- a/intern/ghost/intern/GHOST_SystemNULL.h
+++ b/intern/ghost/intern/GHOST_SystemNULL.h
@@ -53,6 +53,8 @@ public:
void getMainDisplayDimensions(GHOST_TUns32& width, GHOST_TUns32& height) const { /* nop */ }
void getAllDisplayDimensions(GHOST_TUns32& width, GHOST_TUns32& height) const { /* nop */ }
bool supportsNativeDialogs(void) { return false;}
+ GHOST_IContext *createOffscreenContext() { return NULL; }
+ GHOST_TSuccess disposeContext(GHOST_IContext *context) { return GHOST_kFailure; }
GHOST_TSuccess init() {
GHOST_TSuccess success = GHOST_System::init();