瀏覽代碼

gpu: port FBO code to the Xbox360.

legacy
Sam Hocevar sam 12 年之前
父節點
當前提交
6aed414491
共有 1 個文件被更改,包括 4 次插入2 次删除
  1. +4
    -2
      src/gpu/framebuffer.cpp

+ 4
- 2
src/gpu/framebuffer.cpp 查看文件

@@ -44,9 +44,11 @@ class FrameBufferData
ivec2 m_size;

#if defined USE_D3D9
LPDIRECT3DTEXTURE9 m_texture;
LPDIRECT3DSURFACE9 m_surface, m_back_surface;
IDirect3DTexture9 *m_texture;
IDirect3DSurface9 *m_surface, *m_back_surface;
#elif defined _XBOX
D3DTexture *m_texture;
D3DSurface *m_surface, *m_back_surface;
#else
GLuint m_fbo, m_texture, m_depth;
#endif


Loading…
取消
儲存