File: src_glx_dri_common.h.diff

package info (click to toggle)
mesa 25.0.7-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 306,540 kB
  • sloc: ansic: 2,158,395; xml: 1,012,944; cpp: 519,672; python: 76,489; asm: 38,315; lisp: 20,507; yacc: 12,135; lex: 3,424; sh: 861; makefile: 256
file content (13 lines) | stat: -rw-r--r-- 372 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- a/src/glx/dri_common.h
+++ b/src/glx/dri_common.h
@@ -56,6 +56,10 @@ extern struct glx_config *driConvertConf
 
 extern void driDestroyConfigs(const struct dri_config **configs);
 
+#ifndef __GLXDRIdrawable
+typedef struct __GLXDRIdrawableRec __GLXDRIdrawable;
+#endif
+
 extern __GLXDRIdrawable *
 driFetchDrawable(struct glx_context *gc, GLXDrawable glxDrawable);