Add fbo_get_depth_buffer & fbo_get_stencil_buffer

This commit is contained in:
raven02 committed 2013-12-27 22:41:58 +08:00
1 parent eb2d8ac7c9
commit 3cd4fcb03d
1 file changed
+8
+8
View File
@@ -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;
}