From c40aad64edae4a65119aed43720b7be7a334868c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20=E2=80=98Touky=E2=80=99=20Huet?= Date: Fri, 5 Apr 2013 17:29:10 +0000 Subject: [PATCH] CIS PS3 small fix --- src/video.cpp | 4 ++++ 1 file changed, 4 insertions(+) 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)