From: Brian Paul Date: Fri, 9 Apr 2004 14:13:58 +0000 (+0000) Subject: added SPECULAR flag for sprite point functions X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=fb31a01f879610341b4000921ce395a0ce97d053;p=mesa.git added SPECULAR flag for sprite point functions --- diff --git a/src/mesa/swrast/s_points.c b/src/mesa/swrast/s_points.c index 096f8aa804b..4e44f67e6b3 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 22f46f21b0d..3686e6a72e8 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 */