projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eab201b
)
swrast: Avoid void * arithmetic.
author
José Fonseca
<jfonseca@vmware.com>
Fri, 4 Nov 2011 08:54:55 +0000
(08:54 +0000)
committer
José Fonseca
<jfonseca@vmware.com>
Fri, 4 Nov 2011 08:54:55 +0000
(08:54 +0000)
An error with MSVC.
src/mesa/swrast/s_readpix.c
patch
|
blob
|
history
diff --git
a/src/mesa/swrast/s_readpix.c
b/src/mesa/swrast/s_readpix.c
index c36746cafafe0cda3ae6440c0b2110a78650a310..50422dbd59f990da90cdf5d171dd26180005bce4 100644
(file)
--- a/
src/mesa/swrast/s_readpix.c
+++ b/
src/mesa/swrast/s_readpix.c
@@
-305,7
+305,7
@@
static GLboolean
fast_read_depth_stencil_pixels(struct gl_context *ctx,
GLint x, GLint y,
GLsizei width, GLsizei height,
- GL
void
*dst, int dstStride)
+ GL
ubyte
*dst, int dstStride)
{
struct gl_framebuffer *fb = ctx->ReadBuffer;
struct gl_renderbuffer *rb = fb->Attachment[BUFFER_DEPTH].Renderbuffer;