瀏覽代碼

CIS PS3 small fix

legacy
Benjamin ‘Touky’ Huet touky 11 年之前
父節點
當前提交
c40aad64ed
共有 1 個檔案被更改,包括 4 行新增0 行删除
  1. +4
    -0
      src/video.cpp

+ 4
- 0
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*)&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…
取消
儲存