finish up shader/sampler/texture/buffer loading/unloading/association
This commit is contained in:
@@ -78,6 +78,7 @@ texture_t device_create_texture(device_t device, uint32_t width,
|
||||
tex->base.gl_format = convert_gs_format(color_format);
|
||||
tex->base.gl_internal_format = convert_gs_internal_format(color_format);
|
||||
tex->base.gl_type = get_gl_format_type(color_format);
|
||||
tex->base.gl_target = GL_TEXTURE_2D;
|
||||
tex->base.is_dynamic = flags & GS_DYNAMIC;
|
||||
tex->base.is_render_target = flags & GS_RENDERTARGET;
|
||||
tex->base.gen_mipmaps = flags & GS_BUILDMIPMAPS;
|
||||
|
Reference in New Issue
Block a user