diff options
Diffstat (limited to 'source/blender/editors/space_text/space_text.c')
-rw-r--r-- | source/blender/editors/space_text/space_text.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/space_text/space_text.c b/source/blender/editors/space_text/space_text.c index d74e32620af..1f806b78dc8 100644 --- a/source/blender/editors/space_text/space_text.c +++ b/source/blender/editors/space_text/space_text.c @@ -49,7 +49,7 @@ #include "ED_space_api.h" #include "ED_screen.h" -#include "BIF_gl.h" +#include "GPU_compatibility.h" #include "WM_api.h" #include "WM_types.h" @@ -430,7 +430,7 @@ static void text_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); // UI_view2d_view_ortho(v2d); |