mirror of
https://github.com/PabloMK7/citra
synced 2024-11-15 05:08:23 +00:00
added external framebuffer GL handles
This commit is contained in:
parent
6f7fd741db
commit
506e6049d3
1 changed files with 11 additions and 2 deletions
|
@ -128,11 +128,20 @@ private:
|
||||||
int resolution_width_;
|
int resolution_width_;
|
||||||
int resolution_height_;
|
int resolution_height_;
|
||||||
|
|
||||||
// Framebuffer object(s)
|
// Render buffers
|
||||||
// ---------------------
|
// --------------
|
||||||
|
|
||||||
GLuint fbo_rbo_[kMaxFramebuffers]; ///< Render buffer objects
|
GLuint fbo_rbo_[kMaxFramebuffers]; ///< Render buffer objects
|
||||||
GLuint fbo_depth_buffers_[kMaxFramebuffers]; ///< Depth buffers objects
|
GLuint fbo_depth_buffers_[kMaxFramebuffers]; ///< Depth buffers objects
|
||||||
|
|
||||||
|
// External framebuffers
|
||||||
|
// ---------------------
|
||||||
|
|
||||||
|
GLuint xfb_texture_top_; ///< GL handle to top framebuffer texture
|
||||||
|
GLuint xfb_texture_bottom_; ///< GL handle to bottom framebuffer texture
|
||||||
|
|
||||||
|
GLuint xfb_top_;
|
||||||
|
GLuint xfb_bottom_;
|
||||||
|
|
||||||
DISALLOW_COPY_AND_ASSIGN(RendererOpenGL);
|
DISALLOW_COPY_AND_ASSIGN(RendererOpenGL);
|
||||||
};
|
};
|
Loading…
Reference in a new issue