diff options
Diffstat (limited to 'source/blender/gpu/intern/gpu_extensions.c')
-rw-r--r-- | source/blender/gpu/intern/gpu_extensions.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/source/blender/gpu/intern/gpu_extensions.c b/source/blender/gpu/intern/gpu_extensions.c index bff4287bd75..c0c3cc128af 100644 --- a/source/blender/gpu/intern/gpu_extensions.c +++ b/source/blender/gpu/intern/gpu_extensions.c @@ -82,12 +82,12 @@ int GPU_type_matches(GPUDeviceType device, GPUOSType os, GPUDriverType driver) /* GPU Extensions */ -void GPU_extensions_disable() +void GPU_extensions_disable(void) { GG.extdisabled = 1; } -void GPU_extensions_init() +void GPU_extensions_init(void) { GLint r, g, b; const char *vendor, *renderer; @@ -183,12 +183,12 @@ void GPU_extensions_init() #endif } -int GPU_glsl_support() +int GPU_glsl_support(void) { return !GG.extdisabled && GG.glslsupport; } -int GPU_non_power_of_two_support() +int GPU_non_power_of_two_support(void) { /* Exception for buggy ATI/Apple driver in Mac OS X 10.5/10.6, * they claim to support this but can cause system freeze */ @@ -201,7 +201,7 @@ int GPU_non_power_of_two_support() return GLEW_ARB_texture_non_power_of_two; } -int GPU_color_depth() +int GPU_color_depth(void) { return GG.colordepth; } @@ -680,7 +680,7 @@ struct GPUFrameBuffer { GPUTexture *depthtex; }; -GPUFrameBuffer *GPU_framebuffer_create() +GPUFrameBuffer *GPU_framebuffer_create(void) { GPUFrameBuffer *fb; @@ -825,7 +825,7 @@ void GPU_framebuffer_free(GPUFrameBuffer *fb) MEM_freeN(fb); } -void GPU_framebuffer_restore() +void GPU_framebuffer_restore(void) { if (GG.currentfb != 0) { glBindFramebufferEXT(GL_FRAMEBUFFER_EXT, 0); |