projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
meson: allow building all glx without any drivers
[mesa.git]
/
src
/
glx
/
glxconfig.c
diff --git
a/src/glx/glxconfig.c
b/src/glx/glxconfig.c
index c3e1d5a568044067816f2d662ec74ac8951f20c8..0e1643fcd8f6b6fb3d4935b3588203b820b9f14b 100644
(file)
--- a/
src/glx/glxconfig.c
+++ b/
src/glx/glxconfig.c
@@
-32,7
+32,6
@@
*/
#include <GL/glx.h>
*/
#include <GL/glx.h>
-#include "GL/glxint.h"
#include <stdlib.h>
#include <string.h>
#include <stdlib.h>
#include <string.h>
@@
-230,7
+229,7
@@
glx_config_create_list(unsigned count)
next = &base;
for (i = 0; i < count; i++) {
next = &base;
for (i = 0; i < count; i++) {
- *next =
(struct glx_config *)
malloc(size);
+ *next = malloc(size);
if (*next == NULL) {
glx_config_destroy_list(base);
base = NULL;
if (*next == NULL) {
glx_config_destroy_list(base);
base = NULL;