From 33fde699e2854fc3b40b8b39be3c67284e39cf7a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Foucault?= Date: Tue, 18 Aug 2020 21:23:15 +0200 Subject: Cleanup: GPUState: Remove GPU_state_init() --- source/blender/gpu/GPU_state.h | 6 ------ source/blender/gpu/intern/gpu_state.cc | 4 ---- 2 files changed, 10 deletions(-) (limited to 'source/blender/gpu') diff --git a/source/blender/gpu/GPU_state.h b/source/blender/gpu/GPU_state.h index 14617eeb614..8bc5c2b8397 100644 --- a/source/blender/gpu/GPU_state.h +++ b/source/blender/gpu/GPU_state.h @@ -104,12 +104,6 @@ typedef enum eGPUProvokingVertex { extern "C" { #endif -/* Initialize - * - sets the default Blender opengl state, if in doubt, check - * the contents of this function - * - this is called when starting Blender, for opengl rendering. */ -void GPU_state_init(void); - void GPU_blend(eGPUBlend blend); void GPU_face_culling(eGPUFaceCullTest culling); void GPU_front_facing(bool invert); diff --git a/source/blender/gpu/intern/gpu_state.cc b/source/blender/gpu/intern/gpu_state.cc index 796146abdde..f02ec9c5cd4 100644 --- a/source/blender/gpu/intern/gpu_state.cc +++ b/source/blender/gpu/intern/gpu_state.cc @@ -345,8 +345,4 @@ GPUStateManager::GPUStateManager(void) mutable_state.stencil_reference = 0x00; } -void GPU_state_init(void) -{ -} - /** \} */ -- cgit v1.2.3