Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
1434d875
Commit
1434d875
authored
Jul 23, 2000
by
Lionel Ulmer
Committed by
Alexandre Julliard
Jul 23, 2000
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Detect broken glext.h headers.
parent
0e2d0e07
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
23 additions
and
0 deletions
+23
-0
configure
configure
+0
-0
configure.in
configure.in
+10
-0
mesa.c
dlls/ddraw/d3ddevice/mesa.c
+7
-0
acconfig.h
include/acconfig.h
+3
-0
config.h.in
include/config.h.in
+3
-0
No files found.
configure
View file @
1434d875
This diff is collapsed.
Click to expand it.
configure.in
View file @
1434d875
...
...
@@ -262,6 +262,16 @@ then
if test $ac_cv_lib_GL_glXGetProcAddressARB = "yes"
then
AC_CACHE_CHECK("for OpenGL extension functions prototypes", wine_cv_extension_prototypes,
AC_TRY_COMPILE([#include <GL/gl.h>
#include <GL/glext.h>],
[PFNGLCOLORTABLEEXTPROC test_proc;],
[AC_DEFINE(HAVE_GLEXT_PROTOTYPES)
wine_cv_extension_prototypes="yes"],
[wine_cv_extension_prototypes="no"]
)
)
AC_DEFINE(HAVE_OPENGL)
OPENGL32_DLL=opengl32
OPENGLFILES='$(OPENGLFILES)'
...
...
dlls/ddraw/d3ddevice/mesa.c
View file @
1434d875
...
...
@@ -30,6 +30,13 @@ ICOM_VTABLE(IDirect3DDevice) OpenGL_vtable_dx3;
#define D3DDPRIVATE(x) mesa_d3dd_private *odev=((mesa_d3dd_private*)x->private)
#define DDPRIVATE(x) x11_dd_private *ddpriv=((x11_dd_private*)(x)->d->private)
#ifndef HAVE_GLEXT_PROTOTYPES
/* This is for non-OpenGL ABI compliant glext.h headers :-) */
typedef
void
(
*
PFNGLCOLORTABLEEXTPROC
)
(
GLenum
target
,
GLenum
internalFormat
,
GLsizei
width
,
GLenum
format
,
GLenum
type
,
const
GLvoid
*
table
);
#endif
static
const
float
id_mat
[
16
]
=
{
1
.
0
,
0
.
0
,
0
.
0
,
0
.
0
,
0
.
0
,
1
.
0
,
0
.
0
,
0
.
0
,
...
...
include/acconfig.h
View file @
1434d875
...
...
@@ -107,3 +107,6 @@
/* Define if the OpenGL library supports the glXGetProcAddressARB call */
#undef HAVE_GLX_GETPROCADDRESS
/* Define if the OpenGL headers define extension typedefs */
#undef HAVE_GLEXT_PROTOTYPES
include/config.h.in
View file @
1434d875
...
...
@@ -143,6 +143,9 @@
/* Define if the OpenGL library supports the glXGetProcAddressARB call */
#undef HAVE_GLX_GETPROCADDRESS
/* Define if the OpenGL headers define extension typedefs */
#undef HAVE_GLEXT_PROTOTYPES
/* The number of bytes in a long long. */
#undef SIZEOF_LONG_LONG
...
...
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