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:
authorClément Foucault <foucault.clem@gmail.com>2018-12-05 06:23:45 +0300
committerClément Foucault <foucault.clem@gmail.com>2018-12-05 06:23:45 +0300
commitd59c4c9d61a1634f75369a02ff7f381612988c9f (patch)
treeab77f78b956403ddc30fa6bf394e6dcb03c51846 /source/blender/editors/screen
parenta7712e8594337af4ed378894679cec592e348ba4 (diff)
GPU: Cleanup: Replace glFlush by GPU_flush
Diffstat (limited to 'source/blender/editors/screen')
-rw-r--r--source/blender/editors/screen/screen_draw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/screen/screen_draw.c b/source/blender/editors/screen/screen_draw.c
index ee41f188481..c6e9340a54d 100644
--- a/source/blender/editors/screen/screen_draw.c
+++ b/source/blender/editors/screen/screen_draw.c
@@ -391,7 +391,7 @@ void ED_screen_draw_edges(wmWindow *win)
if (GPU_type_matches(GPU_DEVICE_INTEL_UHD, GPU_OS_UNIX, GPU_DRIVER_ANY)) {
/* For some reason, on linux + Intel UHD Graphics 620 the driver
* hangs if we don't flush before this. (See T57455) */
- glFlush();
+ GPU_flush();
}
GPU_scissor(scissor_rect.xmin,