diff options
author | Mitchell Stokes <mogurijin@gmail.com> | 2011-12-23 11:10:01 +0400 |
---|---|---|
committer | Mitchell Stokes <mogurijin@gmail.com> | 2011-12-23 11:10:01 +0400 |
commit | ac498a6b64ea2f034aa0177894fb25d0401e327b (patch) | |
tree | 6329247e9ec72875eab97d1d5ca87b74bbea6c50 /source/blender/gpu/intern/gpu_codegen.h | |
parent | b59d8c6ba35e43879437e197210bd3900eb56fc9 (diff) |
Cleaning up the GPU_extensions_init/exit() code a bit to keep the Blenderplayer from crashing on exit and restart.
Diffstat (limited to 'source/blender/gpu/intern/gpu_codegen.h')
-rw-r--r-- | source/blender/gpu/intern/gpu_codegen.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/gpu/intern/gpu_codegen.h b/source/blender/gpu/intern/gpu_codegen.h index f52b5bb627e..85bf65232c1 100644 --- a/source/blender/gpu/intern/gpu_codegen.h +++ b/source/blender/gpu/intern/gpu_codegen.h @@ -178,6 +178,9 @@ void GPU_pass_unbind(GPUPass *pass); void GPU_pass_free(GPUPass *pass); +void GPU_codegen_init(void); +void GPU_codegen_exit(void); + /* Material calls */ const char *GPU_builtin_name(GPUBuiltin builtin); |