From ccc512cc619dc9f0e6fd79270a7a96ece34d23b5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Foucault?= Date: Tue, 8 Sep 2020 03:18:49 +0200 Subject: GPUImmediate: Make activation / deactivation implicit This avoids unecessary complexity. Also makes the GPUImmediate threadsafe by using a threadlocal imm variable. --- intern/ghost/test/multitest/MultiTest.c | 1 - 1 file changed, 1 deletion(-) (limited to 'intern/ghost') diff --git a/intern/ghost/test/multitest/MultiTest.c b/intern/ghost/test/multitest/MultiTest.c index cf7a06bf3e5..b6b83f2a47d 100644 --- a/intern/ghost/test/multitest/MultiTest.c +++ b/intern/ghost/test/multitest/MultiTest.c @@ -439,7 +439,6 @@ static void loggerwindow_do_draw(LoggerWindow *lw) GHOST_ActivateWindowDrawingContext(lw->win); GPU_context_active_set(lw->gpu_context); - immActivate(); glClearColor(1, 1, 1, 1); glClear(GL_COLOR_BUFFER_BIT); -- cgit v1.2.3