Browse Source

CIS PS3 small fix

legacy
Benjamin ‘Touky’ Huet touky 11 years ago
parent
commit
c40aad64ed
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      src/video.cpp

+ 4
- 0
src/video.cpp View File

@@ -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*)&current_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*)&current_size);
if (current_size.zw != VideoData::saved_viewport)


Loading…
Cancel
Save