DRWTexture: Remove DRW_texture_update
This commit is contained in:
@@ -209,7 +209,6 @@ struct GPUTexture *DRW_texture_create_3D(
|
||||
struct GPUTexture *DRW_texture_create_cube(
|
||||
int w, DRWTextureFormat format, DRWTextureFlag flags, const float *fpixels);
|
||||
void DRW_texture_generate_mipmaps(struct GPUTexture *tex);
|
||||
void DRW_texture_update(struct GPUTexture *tex, const float *pixels);
|
||||
void DRW_texture_free(struct GPUTexture *tex);
|
||||
#define DRW_TEXTURE_FREE_SAFE(tex) do { \
|
||||
if (tex != NULL) { \
|
||||
|
||||
@@ -204,11 +204,6 @@ void DRW_texture_generate_mipmaps(GPUTexture *tex)
|
||||
GPU_texture_unbind(tex);
|
||||
}
|
||||
|
||||
void DRW_texture_update(GPUTexture *tex, const float *pixels)
|
||||
{
|
||||
GPU_texture_update(tex, pixels);
|
||||
}
|
||||
|
||||
void DRW_texture_free(GPUTexture *tex)
|
||||
{
|
||||
GPU_texture_free(tex);
|
||||
|
||||
Reference in New Issue
Block a user