diff --git a/src/video.cpp b/src/video.cpp index c543cf2e..742b3263 100644 --- a/src/video.cpp +++ b/src/video.cpp @@ -170,6 +170,8 @@ void Video::SetCustomSize(ivec2 size) # define STR0(x) #x # define STR(x) STR0(x) # pragma message(__FILE__ "(" STR(__LINE__) "): warning: Video::SetSize() not implemented") +#elif defined __CELLOS_LV2__ + // FIXME: use psglCreateDeviceAuto && psglGetDeviceDimensions #else glGetIntegerv(GL_VIEWPORT, (GLint*)¤t_size); if (current_size.zw != size) @@ -184,6 +186,8 @@ void Video::RestoreSize() # define STR0(x) #x # define STR(x) STR0(x) # pragma message(__FILE__ "(" STR(__LINE__) "): warning: Video::SetSize() not implemented") +#elif defined __CELLOS_LV2__ + // FIXME: use psglCreateDeviceAuto && psglGetDeviceDimensions #else glGetIntegerv(GL_VIEWPORT, (GLint*)¤t_size); if (current_size.zw != VideoData::saved_viewport)