aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/extras/Mesa/src/mesa/main
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2016-11-02 20:30:07 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2016-12-04 21:31:11 +0100
commit4e33fd4bef7c3254d53eb04a0d8f4312622f2092 (patch)
tree90906f572923256f08220d6c6d34286832dfba40 /nx-X11/extras/Mesa/src/mesa/main
parent4146d1aa71ba5a2a4951667624844b4d3bff5c0e (diff)
downloadnx-libs-4e33fd4bef7c3254d53eb04a0d8f4312622f2092.tar.gz
nx-libs-4e33fd4bef7c3254d53eb04a0d8f4312622f2092.tar.bz2
nx-libs-4e33fd4bef7c3254d53eb04a0d8f4312622f2092.zip
Mesa: Convert some files with MSDOS EOL style to Unix EOL style.
Diffstat (limited to 'nx-X11/extras/Mesa/src/mesa/main')
-rw-r--r--nx-X11/extras/Mesa/src/mesa/main/hint.c26
1 files changed, 13 insertions, 13 deletions
diff --git a/nx-X11/extras/Mesa/src/mesa/main/hint.c b/nx-X11/extras/Mesa/src/mesa/main/hint.c
index 6680edd16..dcfa9c736 100644
--- a/nx-X11/extras/Mesa/src/mesa/main/hint.c
+++ b/nx-X11/extras/Mesa/src/mesa/main/hint.c
@@ -109,18 +109,18 @@ _mesa_Hint( GLenum target, GLenum mode )
return;
FLUSH_VERTICES(ctx, _NEW_HINT);
ctx->Hint.GenerateMipmap = mode;
- break;
-
- /* GL_ARB_fragment_shader */
- case GL_FRAGMENT_SHADER_DERIVATIVE_HINT_ARB:
- if (!ctx->Extensions.ARB_fragment_shader) {
- _mesa_error(ctx, GL_INVALID_ENUM, "glHint(target)");
- return;
- }
- if (ctx->Hint.FragmentShaderDerivative == mode)
- return;
- FLUSH_VERTICES(ctx, _NEW_HINT);
- ctx->Hint.FragmentShaderDerivative = mode;
+ break;
+
+ /* GL_ARB_fragment_shader */
+ case GL_FRAGMENT_SHADER_DERIVATIVE_HINT_ARB:
+ if (!ctx->Extensions.ARB_fragment_shader) {
+ _mesa_error(ctx, GL_INVALID_ENUM, "glHint(target)");
+ return;
+ }
+ if (ctx->Hint.FragmentShaderDerivative == mode)
+ return;
+ FLUSH_VERTICES(ctx, _NEW_HINT);
+ ctx->Hint.FragmentShaderDerivative = mode;
break;
default:
@@ -148,6 +148,6 @@ void _mesa_init_hint( GLcontext * ctx )
ctx->Hint.Fog = GL_DONT_CARE;
ctx->Hint.ClipVolumeClipping = GL_DONT_CARE;
ctx->Hint.TextureCompression = GL_DONT_CARE;
- ctx->Hint.GenerateMipmap = GL_DONT_CARE;
+ ctx->Hint.GenerateMipmap = GL_DONT_CARE;
ctx->Hint.FragmentShaderDerivative = GL_DONT_CARE;
}