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:
authorMike Erwin <significant.bit@gmail.com>2016-10-10 08:13:03 +0300
committerMike Erwin <significant.bit@gmail.com>2016-10-10 08:28:30 +0300
commit109192b3601ddfa8ec44ab2fd276298ac690a9a2 (patch)
tree8a093810c924152a9453160a9ea863a5da53f7c3 /source/blender/gpu
parentba5e2270f9396e3e1a9ad638df4896f1fb2b5f33 (diff)
OpenGL: remove GLSL support query (it's always supported)
Diffstat (limited to 'source/blender/gpu')
-rw-r--r--source/blender/gpu/GPU_extensions.h1
-rw-r--r--source/blender/gpu/intern/gpu_extensions.c6
2 files changed, 0 insertions, 7 deletions
diff --git a/source/blender/gpu/GPU_extensions.h b/source/blender/gpu/GPU_extensions.h
index 4a728c881b6..31ad8243c4b 100644
--- a/source/blender/gpu/GPU_extensions.h
+++ b/source/blender/gpu/GPU_extensions.h
@@ -41,7 +41,6 @@ extern "C" {
void GPU_extensions_disable(void);
bool GPU_legacy_support(void);
-bool GPU_glsl_support(void);
bool GPU_full_non_power_of_two_support(void);
bool GPU_display_list_support(void);
bool GPU_bicubic_bump_support(void);
diff --git a/source/blender/gpu/intern/gpu_extensions.c b/source/blender/gpu/intern/gpu_extensions.c
index d41573b681b..26e86fe61b8 100644
--- a/source/blender/gpu/intern/gpu_extensions.c
+++ b/source/blender/gpu/intern/gpu_extensions.c
@@ -280,12 +280,6 @@ bool GPU_legacy_support(void)
return support;
}
-bool GPU_glsl_support(void)
-{
- /* always supported, still queried by game engine */
- return true;
-}
-
bool GPU_full_non_power_of_two_support(void)
{
/* always supported on full GL but still relevant for OpenGL ES 2.0 where