projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
swrast: use BITFIELD64_BIT() macro to fix MSVC warnings
[mesa.git]
/
src
/
mesa
/
swrast
/
s_lines.c
diff --git
a/src/mesa/swrast/s_lines.c
b/src/mesa/swrast/s_lines.c
index 7db5af4ae1c0ebefb2da0987f6726007b4d5aadb..95a2a5d96fc5a482d9ee57827a11ab28b1cb32e5 100644
(file)
--- a/
src/mesa/swrast/s_lines.c
+++ b/
src/mesa/swrast/s_lines.c
@@
-38,7
+38,7
@@
* Init the mask[] array to implement a line stipple.
*/
static void
* Init the mask[] array to implement a line stipple.
*/
static void
-compute_stipple_mask(
GL
context *ctx, GLuint len, GLubyte mask[] )
+compute_stipple_mask(
struct gl_
context *ctx, GLuint len, GLubyte mask[] )
{
SWcontext *swrast = SWRAST_CONTEXT(ctx);
GLuint i;
{
SWcontext *swrast = SWRAST_CONTEXT(ctx);
GLuint i;
@@
-60,7
+60,7
@@
compute_stipple_mask( GLcontext *ctx, GLuint len, GLubyte mask[] )
* To draw a wide line we can simply redraw the span N times, side by side.
*/
static void
* To draw a wide line we can simply redraw the span N times, side by side.
*/
static void
-draw_wide_line(
GL
context *ctx, SWspan *span, GLboolean xMajor )
+draw_wide_line(
struct gl_
context *ctx, SWspan *span, GLboolean xMajor )
{
const GLint width = (GLint) CLAMP(ctx->Line.Width,
ctx->Const.MinLineWidth,
{
const GLint width = (GLint) CLAMP(ctx->Line.Width,
ctx->Const.MinLineWidth,
@@
-160,7
+160,7
@@
draw_wide_line( GLcontext *ctx, SWspan *span, GLboolean xMajor )
void
void
-_swrast_add_spec_terms_line(
GL
context *ctx,
+_swrast_add_spec_terms_line(
struct gl_
context *ctx,
const SWvertex *v0, const SWvertex *v1)
{
SWvertex *ncv0 = (SWvertex *)v0;
const SWvertex *v0, const SWvertex *v1)
{
SWvertex *ncv0 = (SWvertex *)v0;
@@
-222,7
+222,7
@@
do { \
* tests to this code.
*/
void
* tests to this code.
*/
void
-_swrast_choose_line(
GL
context *ctx )
+_swrast_choose_line(
struct gl_
context *ctx )
{
SWcontext *swrast = SWRAST_CONTEXT(ctx);
GLboolean specular = (ctx->Fog.ColorSumEnabled ||
{
SWcontext *swrast = SWRAST_CONTEXT(ctx);
GLboolean specular = (ctx->Fog.ColorSumEnabled ||