Set default wrap mode

This commit is contained in:
OV2 2018-05-20 19:49:58 +02:00
parent ad2c72d26c
commit 8b55dd617d
1 changed files with 1 additions and 0 deletions

View File

@ -124,6 +124,7 @@ bool GLSLShader::load_shader_file (char *filename)
pass.scale_type_x = pass.scale_type_y = GLSL_VIEWPORT;
pass.filter = GLSL_UNDEFINED;
pass.wrap_mode = GL_CLAMP_TO_BORDER;
strcpy(pass.filename, filename);
pass.frame_count_mod = 0;
pass.frame_count = 0;