[Bf-blender-cvs] [43419e4c321] temp-lanpr-review: LANPR: Removed unused DRW_texture_create_2d_multisample function.

YimingWu noreply at git.blender.org
Wed Nov 20 10:24:00 CET 2019


Commit: 43419e4c321fb44c1fc5ec080145efb2e9482774
Author: YimingWu
Date:   Wed Nov 20 17:20:42 2019 +0800
Branches: temp-lanpr-review
https://developer.blender.org/rB43419e4c321fb44c1fc5ec080145efb2e9482774

LANPR: Removed unused DRW_texture_create_2d_multisample function.

===================================================================

M	source/blender/draw/intern/draw_manager_texture.c

===================================================================

diff --git a/source/blender/draw/intern/draw_manager_texture.c b/source/blender/draw/intern/draw_manager_texture.c
index 587007a83f4..b28140b7e21 100644
--- a/source/blender/draw/intern/draw_manager_texture.c
+++ b/source/blender/draw/intern/draw_manager_texture.c
@@ -103,19 +103,6 @@ GPUTexture *DRW_texture_create_2d_array(
   return tex;
 }
 
-GPUTexture *DRW_texture_create_2d_multisample(int w,
-                                              int h,
-                                              eGPUTextureFormat format,
-                                              int samples,
-                                              DRWTextureFlag flags,
-                                              const float *fpixels)
-{
-  GPUTexture *tex = GPU_texture_create_2d_multisample(w, h, format, fpixels, samples, NULL);
-  drw_texture_set_parameters(tex, flags);
-
-  return tex;
-}
-
 GPUTexture *DRW_texture_create_3d(
     int w, int h, int d, eGPUTextureFormat format, DRWTextureFlag flags, const float *fpixels)
 {



More information about the Bf-blender-cvs mailing list