Quiet double promotion warning & ws edit

This commit is contained in:
Campbell Barton 2014-06-13 02:22:40 +10:00
parent ce460c6179
commit 9f0466fb6b
2 changed files with 2 additions and 2 deletions

View File

@ -52,7 +52,7 @@
#define BEVEL_EPSILON_D 1e-6
#define BEVEL_EPSILON 1e-6f
#define BEVEL_EPSILON_SQ 1e-12f
#define BEVEL_EPSILON_BIG 1e-4
#define BEVEL_EPSILON_BIG 1e-4f
/* happens far too often, uncomment for development */
// #define BEVEL_ASSERT_PROJECT

View File

@ -711,7 +711,7 @@ void GPU_invalid_tex_init(void)
void GPU_invalid_tex_bind(int mode)
{
switch(mode) {
switch (mode) {
case GL_TEXTURE_1D:
glBindTexture(GL_TEXTURE_1D, GG.invalid_tex_1D->bindcode);
break;