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>2019-05-28 18:14:22 +0300
committerClément Foucault <foucault.clem@gmail.com>2019-05-28 18:19:42 +0300
commit2100dba34bbec7fffdff787c01d3270ab7d3dfbb (patch)
tree6537a82b5ffe39e64da79faf8a0b875804567409 /source/blender/gpu/intern/gpu_draw.c
parentfbe7c848c20c1f3fef0b2ee47b9d2d2fa19a5b5e (diff)
Cleanup: GPU: Move program point size to GPU_state
Diffstat (limited to 'source/blender/gpu/intern/gpu_draw.c')
-rw-r--r--source/blender/gpu/intern/gpu_draw.c12
1 files changed, 1 insertions, 11 deletions
diff --git a/source/blender/gpu/intern/gpu_draw.c b/source/blender/gpu/intern/gpu_draw.c
index 638729d027c..5f27a0e93cd 100644
--- a/source/blender/gpu/intern/gpu_draw.c
+++ b/source/blender/gpu/intern/gpu_draw.c
@@ -1354,7 +1354,7 @@ static void gpu_disable_multisample(void)
void GPU_state_init(void)
{
- GPU_disable_program_point_size();
+ GPU_program_point_size(false);
glEnable(GL_TEXTURE_CUBE_MAP_SEAMLESS);
@@ -1374,16 +1374,6 @@ void GPU_state_init(void)
gpu_disable_multisample();
}
-void GPU_enable_program_point_size(void)
-{
- glEnable(GL_PROGRAM_POINT_SIZE);
-}
-
-void GPU_disable_program_point_size(void)
-{
- glDisable(GL_PROGRAM_POINT_SIZE);
-}
-
/** \name Framebuffer color depth, for selection codes
* \{ */