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>2020-10-09 16:12:28 +0300
committerClément Foucault <foucault.clem@gmail.com>2020-10-09 17:33:59 +0300
commitd39043b5ae054510e3683b63cfefde76e5a4c6db (patch)
tree21d7b63cf0eeec6964b48cb6836cfd611add5f02 /source/blender/gpu/GPU_state.h
parent1f6b7387ad0177c1dec9bb83b7c7586a454691db (diff)
Revert "Revert "BGL: Workaround broken bgl usage caused by GPU refactor""
This reverts commit f23bf4cb109cb8f39f873c4f80acbec3f33b098c.
Diffstat (limited to 'source/blender/gpu/GPU_state.h')
-rw-r--r--source/blender/gpu/GPU_state.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/source/blender/gpu/GPU_state.h b/source/blender/gpu/GPU_state.h
index d650936b44a..b7bea4b0a08 100644
--- a/source/blender/gpu/GPU_state.h
+++ b/source/blender/gpu/GPU_state.h
@@ -161,7 +161,10 @@ float GPU_line_width_get(void);
void GPU_flush(void);
void GPU_finish(void);
void GPU_apply_state(void);
-void GPU_force_state(void);
+
+void GPU_bgl_start(void);
+void GPU_bgl_end(void);
+bool GPU_bgl_get(void);
void GPU_memory_barrier(eGPUBarrier barrier);