mirror of
https://github.com/aap/librw.git
synced 2024-11-25 13:15:43 +00:00
more silly bugs
This commit is contained in:
parent
75aeb30b79
commit
d0d34f7327
@ -244,10 +244,20 @@ createMatFXShaders(void)
|
|||||||
void
|
void
|
||||||
destroyMatFXShaders(void)
|
destroyMatFXShaders(void)
|
||||||
{
|
{
|
||||||
destroyVertexShader(matfx_env_PS);
|
destroyVertexShader(matfx_env_amb_VS);
|
||||||
|
matfx_env_amb_VS = nil;
|
||||||
|
|
||||||
|
destroyVertexShader(matfx_env_amb_dir_VS);
|
||||||
|
matfx_env_amb_dir_VS = nil;
|
||||||
|
|
||||||
|
destroyVertexShader(matfx_env_all_VS);
|
||||||
|
matfx_env_all_VS = nil;
|
||||||
|
|
||||||
|
|
||||||
|
destroyPixelShader(matfx_env_PS);
|
||||||
matfx_env_PS = nil;
|
matfx_env_PS = nil;
|
||||||
|
|
||||||
destroyVertexShader(matfx_env_tex_PS);
|
destroyPixelShader(matfx_env_tex_PS);
|
||||||
matfx_env_tex_PS = nil;
|
matfx_env_tex_PS = nil;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user