Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
a1d6d247
Commit
a1d6d247
authored
Jan 30, 1999
by
Lionel Ulmer
Committed by
Alexandre Julliard
Jan 30, 1999
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added check for the presence of Mesa's header files.
parent
cb1f2c43
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
19 additions
and
8 deletions
+19
-8
configure
configure
+0
-0
configure.in
configure.in
+2
-1
d3d_private.h
graphics/d3d_private.h
+2
-1
acconfig.h
include/acconfig.h
+1
-1
config.h.in
include/config.h.in
+4
-1
d3d.h
include/d3d.h
+0
-2
wine_gl.h
include/wine_gl.h
+10
-2
No files found.
configure
View file @
a1d6d247
This diff is collapsed.
Click to expand it.
configure.in
View file @
a1d6d247
...
...
@@ -107,7 +107,8 @@ then
dnl Check for XFree86 VMODE extension
AC_CHECK_LIB(Xxf86vm,XF86VidModeQueryExtension,AC_DEFINE(HAVE_LIBXXF86VM) X_PRE_LIBS="$X_PRE_LIBS -lXxf86vm",,$X_LIBS -lXext -lX11)
dnl Check for the presence of Mesa
AC_CHECK_LIB(MesaGL,OSMesaCreateContext,AC_DEFINE(HAVE_MESAGL) X_PRE_LIBS="$X_PRE_LIBS -lMesaGL",,$X_LIBS -lXext -lX11 -lm)
AC_CHECK_LIB(MesaGL,OSMesaCreateContext,AC_DEFINE(HAVE_LIBMESAGL) X_PRE_LIBS="$X_PRE_LIBS -lMesaGL",,$X_LIBS -lXext -lX11 -lm)
AC_CHECK_HEADERS(GL/osmesa.h)
else
XLIB=""
X_CFLAGS=""
...
...
graphics/d3d_private.h
View file @
a1d6d247
...
...
@@ -7,10 +7,11 @@
#ifndef _WINE_D3D_PRIVATE_H
#define _WINE_D3D_PRIVATE_H
#include "wine_gl.h"
#ifdef HAVE_MESAGL
#include "d3d.h"
#include "wine_gl.h"
/* Matrix copy WITH transposition */
#define conv_mat2(mat,gl_mat) \
...
...
include/acconfig.h
View file @
a1d6d247
...
...
@@ -76,4 +76,4 @@
#undef HAVE_IPX_LINUX
/* Define if Mesa is present on the system or not */
#undef HAVE_MESAGL
#undef HAVE_
LIB
MESAGL
include/config.h.in
View file @
a1d6d247
...
...
@@ -79,7 +79,7 @@
#undef HAVE_IPX_LINUX
/* Define if Mesa is present on the system or not */
#undef HAVE_MESAGL
#undef HAVE_
LIB
MESAGL
/* The number of bytes in a long long. */
#undef SIZEOF_LONG_LONG
...
...
@@ -126,6 +126,9 @@
/* Define if you have the waitpid function. */
#undef HAVE_WAITPID
/* Define if you have the <GL/osmesa.h> header file. */
#undef HAVE_GL_OSMESA_H
/* Define if you have the <curses.h> header file. */
#undef HAVE_CURSES_H
...
...
include/d3d.h
View file @
a1d6d247
...
...
@@ -4,9 +4,7 @@
#include "ddraw.h"
/* This is needed for GL_LIGHT */
#ifdef HAVE_MESAGL
#include "wine_gl.h"
#endif
typedef
BOOL32
*
LPBOOL
;
typedef
BOOL32
BOOL
;
...
...
include/wine_gl.h
View file @
a1d6d247
...
...
@@ -7,7 +7,11 @@
#ifndef __WINE_GL_H
#define __WINE_GL_H
#ifdef HAVE_MESAGL
#include "config.h"
#if defined(HAVE_LIBMESAGL) && defined(HAVE_GL_OSMESA_H)
#define HAVE_MESAGL
#undef APIENTRY
#undef CALLBACK
...
...
@@ -27,6 +31,10 @@
#define WINAPI __stdcall
#define APIENTRY WINAPI
#endif
/* HAVE_MESAGL */
#else
/* HAVE_LIBMESAGL */
#undef HAVE_MESAGL
#endif
/* HAVE_LIBMESAGL */
#endif
/* __WINE_GL_H */
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment