summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/i915
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2009-01-26 16:38:01 -0700
committerBrian Paul <brianp@vmware.com>2009-01-26 16:38:01 -0700
commit69fd665b6491ece8c948784014ab52839c3aeb8b (patch)
treeea56e1175859c20d9978a88d72ab9b4b1dc32d27 /src/mesa/drivers/dri/i915
parent84c8b5bbf980deea6322009354c3331dc5d5eb57 (diff)
intel: whitespace changes
Diffstat (limited to 'src/mesa/drivers/dri/i915')
-rw-r--r--src/mesa/drivers/dri/i915/intel_state.c26
1 files changed, 13 insertions, 13 deletions
diff --git a/src/mesa/drivers/dri/i915/intel_state.c b/src/mesa/drivers/dri/i915/intel_state.c
index 8d96e9baec..4ee742377d 100644
--- a/src/mesa/drivers/dri/i915/intel_state.c
+++ b/src/mesa/drivers/dri/i915/intel_state.c
@@ -38,30 +38,30 @@
#include "intel_regions.h"
#include "swrast/swrast.h"
-int
-intel_translate_shadow_compare_func( GLenum func )
+int
+intel_translate_shadow_compare_func(GLenum func)
{
- switch(func) {
+ switch (func) {
case GL_NEVER:
- return COMPAREFUNC_ALWAYS;
+ return COMPAREFUNC_ALWAYS;
case GL_LESS:
- return COMPAREFUNC_LEQUAL;
+ return COMPAREFUNC_LEQUAL;
case GL_LEQUAL:
return COMPAREFUNC_LESS;
case GL_GREATER:
- return COMPAREFUNC_GEQUAL;
+ return COMPAREFUNC_GEQUAL;
case GL_GEQUAL:
- return COMPAREFUNC_GREATER;
+ return COMPAREFUNC_GREATER;
case GL_NOTEQUAL:
- return COMPAREFUNC_EQUAL;
+ return COMPAREFUNC_EQUAL;
case GL_EQUAL:
- return COMPAREFUNC_NOTEQUAL;
+ return COMPAREFUNC_NOTEQUAL;
case GL_ALWAYS:
- return COMPAREFUNC_NEVER;
+ return COMPAREFUNC_NEVER;
}
fprintf(stderr, "Unknown value in %s: %x\n", __FUNCTION__, func);
- return COMPAREFUNC_NEVER;
+ return COMPAREFUNC_NEVER;
}
int
@@ -198,7 +198,7 @@ intel_translate_logic_op(GLenum opcode)
static void
-intelClearColor(GLcontext * ctx, const GLfloat color[4])
+intelClearColor(GLcontext *ctx, const GLfloat color[4])
{
struct intel_context *intel = intel_context(ctx);
GLubyte clear[4];
@@ -218,7 +218,7 @@ intelClearColor(GLcontext * ctx, const GLfloat color[4])
/* Fallback to swrast for select and feedback.
*/
static void
-intelRenderMode(GLcontext * ctx, GLenum mode)
+intelRenderMode(GLcontext *ctx, GLenum mode)
{
struct intel_context *intel = intel_context(ctx);
FALLBACK(intel, INTEL_FALLBACK_RENDERMODE, (mode != GL_RENDER));