diff --git a/gfx_es2/fbo.cpp b/gfx_es2/fbo.cpp index 99b52420a1..467689c15b 100644 --- a/gfx_es2/fbo.cpp +++ b/gfx_es2/fbo.cpp @@ -320,3 +320,11 @@ void fbo_get_dimensions(FBO *fbo, int *w, int *h) { int fbo_get_color_texture(FBO *fbo) { return fbo->color_texture; } + +int fbo_get_depth_buffer(FBO *fbo) { + return fbo->z_buffer; +} + +int fbo_get_stencil_buffer(FBO *fbo) { + return fbo->stencil_buffer; +}