summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2004-04-09 14:13:58 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2004-04-09 14:13:58 +0000
commitfb31a01f879610341b4000921ce395a0ce97d053 (patch)
tree04f36b65330b76a553fc03f957fc814f659a5d27
parentd0c8352853fe4775a09f57c4fb079dd084a958e7 (diff)
added SPECULAR flag for sprite point functions
-rw-r--r--src/mesa/swrast/s_points.c8
-rw-r--r--src/mesa/swrast/s_pointtemp.h1
2 files changed, 4 insertions, 5 deletions
diff --git a/src/mesa/swrast/s_points.c b/src/mesa/swrast/s_points.c
index 096f8aa804..4e44f67e6b 100644
--- a/src/mesa/swrast/s_points.c
+++ b/src/mesa/swrast/s_points.c
@@ -1,8 +1,8 @@
/*
* Mesa 3-D graphics library
- * Version: 5.1
+ * Version: 6.1
*
- * Copyright (C) 1999-2003 Brian Paul All Rights Reserved.
+ * Copyright (C) 1999-2004 Brian Paul All Rights Reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
@@ -144,12 +144,12 @@
/*
* Sprite (textured point)
*/
-#define FLAGS (RGBA | SPRITE)
+#define FLAGS (RGBA | SPRITE | SPECULAR)
#define NAME sprite_point
#include "s_pointtemp.h"
-#define FLAGS (RGBA | ATTENUATE | SPRITE)
+#define FLAGS (RGBA | SPRITE | SPECULAR | ATTENUATE)
#define NAME atten_sprite_point
#include "s_pointtemp.h"
diff --git a/src/mesa/swrast/s_pointtemp.h b/src/mesa/swrast/s_pointtemp.h
index 22f46f21b0..3686e6a72e 100644
--- a/src/mesa/swrast/s_pointtemp.h
+++ b/src/mesa/swrast/s_pointtemp.h
@@ -47,7 +47,6 @@
*
* Notes: LARGE and ATTENUATE are exclusive of each other.
* TEXTURE requires RGBA
- * SPECULAR requires TEXTURE
*/