Cleanup: remove image->bindcode, always wrap in GPUTexture.

This commit is contained in:
2018-06-11 22:30:59 +02:00
parent 0054dff67e
commit 8242a5bc85
9 changed files with 105 additions and 157 deletions

View File

@@ -161,6 +161,7 @@ GPUTexture *GPU_texture_create_from_vertbuf(
GPUTexture *GPU_texture_create_buffer(
GPUTextureFormat data_type, const uint buffer);
GPUTexture *GPU_texture_from_bindcode(int textarget, int bindcode);
GPUTexture *GPU_texture_from_blender(
struct Image *ima, struct ImageUser *iuser, int textarget, bool is_data, double time, int mipmap);
GPUTexture *GPU_texture_from_preview(struct PreviewImage *prv, int mipmap);