projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
nv50: pass vtxbuf index as unsigned
[mesa.git]
/
src
/
glx
/
renderpix.c
diff --git
a/src/glx/renderpix.c
b/src/glx/renderpix.c
index 508a1e10459e84e21e54e8bec97958a5f22e6bd4..a88b544c7647325fa9c9578ca716bd662c53f2b4 100644
(file)
--- a/
src/glx/renderpix.c
+++ b/
src/glx/renderpix.c
@@
-84,7
+84,7
@@
__glXSendLargeImage(struct glx_context * gc, GLint compsize, GLint dim,
GLubyte * pc, GLubyte * modes)
{
/* Allocate a temporary holding buffer */
GLubyte * pc, GLubyte * modes)
{
/* Allocate a temporary holding buffer */
- GLubyte *buf =
(GLubyte *)
malloc(compsize);
+ GLubyte *buf = malloc(compsize);
if (!buf) {
__glXSetError(gc, GL_OUT_OF_MEMORY);
return;
if (!buf) {
__glXSetError(gc, GL_OUT_OF_MEMORY);
return;
@@
-178,7
+178,7
@@
__indirect_glSeparableFilter2D(GLenum target, GLenum internalformat,
pc += hdrlen;
/* Allocate a temporary holding buffer */
pc += hdrlen;
/* Allocate a temporary holding buffer */
- buf =
(GLubyte *)
malloc(bufsize);
+ buf = malloc(bufsize);
if (!buf) {
__glXSetError(gc, GL_OUT_OF_MEMORY);
return;
if (!buf) {
__glXSetError(gc, GL_OUT_OF_MEMORY);
return;