libobs-opengl: Don't allow volume render targets

Unlikely to be necessary. Disable for simplicity.
master
jpark37 2020-01-01 12:39:53 -08:00
parent e5871483ab
commit 846be2063c
1 changed files with 1 additions and 1 deletions

View File

@ -139,7 +139,7 @@ gs_texture_t *device_voltexture_create(gs_device_t *device, uint32_t width,
tex->base.gl_type = get_gl_format_type(color_format);
tex->base.gl_target = GL_TEXTURE_3D;
tex->base.is_dynamic = (flags & GS_DYNAMIC) != 0;
tex->base.is_render_target = (flags & GS_RENDER_TARGET) != 0;
tex->base.is_render_target = false;
tex->base.is_dummy = (flags & GS_GL_DUMMYTEX) != 0;
tex->base.gen_mipmaps = (flags & GS_BUILD_MIPMAPS) != 0;
tex->width = width;