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_info/info_draw.c')
-rw-r--r--source/blender/editors/space_info/info_draw.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/source/blender/editors/space_info/info_draw.c b/source/blender/editors/space_info/info_draw.c
index 5830c4574df..4de77d1f89a 100644
--- a/source/blender/editors/space_info/info_draw.c
+++ b/source/blender/editors/space_info/info_draw.c
@@ -46,10 +46,10 @@
// #include "BKE_suggestions.h"
#include "BKE_report.h"
+#include "GPU_compatibility.h"
#include "MEM_guardedalloc.h"
-#include "BIF_gl.h"
#include "BIF_glutil.h"
#include "ED_datafiles.h"
@@ -146,8 +146,7 @@ static int report_textview_begin(TextViewContext *tvc)
/* iterator */
tvc->iter = reports->list.last;
- glClearColor(120.0 / 255.0, 120.0 / 255.0, 120.0 / 255.0, 1.0);
- glClear(GL_COLOR_BUFFER_BIT);
+ gpuColorAndClear(120.0 / 255.0, 120.0 / 255.0, 120.0 / 255.0, 1.0);
#ifdef USE_INFO_NEWLINE
tvc->iter_tmp = 0;