Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'source/blender/editors/space_clip/space_clip.c')
-rw-r--r--source/blender/editors/space_clip/space_clip.c12
1 files changed, 7 insertions, 5 deletions
diff --git a/source/blender/editors/space_clip/space_clip.c b/source/blender/editors/space_clip/space_clip.c
index 77e2a1bb3d3..5f0e4db9dd7 100644
--- a/source/blender/editors/space_clip/space_clip.c
+++ b/source/blender/editors/space_clip/space_clip.c
@@ -59,7 +59,7 @@
#include "IMB_imbuf.h"
-#include "BIF_gl.h"
+#include "GPU_compatibility.h"
#include "WM_api.h"
#include "WM_types.h"
@@ -70,6 +70,8 @@
#include "RNA_access.h"
+#include "GPU_compatibility.h"
+
#include "clip_intern.h" /* own include */
@@ -1119,7 +1121,7 @@ static void clip_main_area_draw(const bContext *C, ARegion *ar)
/* clear and setup matrix */
UI_ThemeClearColor(TH_BACK);
- glClear(GL_COLOR_BUFFER_BIT);
+ gpuClear(GL_COLOR_BUFFER_BIT);
/* data... */
movieclip_main_area_set_view2d(C, ar);
@@ -1196,7 +1198,7 @@ static void graph_area_draw(const bContext *C, ARegion *ar)
/* clear and setup matrix */
UI_ThemeClearColor(TH_BACK);
- glClear(GL_COLOR_BUFFER_BIT);
+ gpuClear(GL_COLOR_BUFFER_BIT);
UI_view2d_view_ortho(v2d);
@@ -1229,7 +1231,7 @@ static void dopesheet_area_draw(const bContext *C, ARegion *ar)
/* clear and setup matrix */
UI_ThemeClearColor(TH_BACK);
- glClear(GL_COLOR_BUFFER_BIT);
+ gpuClear(GL_COLOR_BUFFER_BIT);
UI_view2d_view_ortho(v2d);
@@ -1290,7 +1292,7 @@ static void clip_channels_area_draw(const bContext *C, ARegion *ar)
/* clear and setup matrix */
UI_ThemeClearColor(TH_BACK);
- glClear(GL_COLOR_BUFFER_BIT);
+ gpuClear(GL_COLOR_BUFFER_BIT);
UI_view2d_view_ortho(v2d);