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
8bbabd16
Commit
8bbabd16
authored
Apr 14, 2004
by
Christian Costa
Committed by
Alexandre Julliard
Apr 14, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added glDeleteObjectBufferATI function.
Fix for types that have a common root.
parent
618cf6fc
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
4 deletions
+15
-4
make_opengl
dlls/opengl32/make_opengl
+3
-2
opengl_ext.c
dlls/opengl32/opengl_ext.c
+12
-2
No files found.
dlls/opengl32/make_opengl
View file @
8bbabd16
...
...
@@ -167,7 +167,7 @@ sub ConvertType {
"GLcharARB"
=>
"char"
,
"GLhalfNV"
=>
"unsigned short"
);
foreach
$org
(
keys
%
hash
)
{
foreach
$org
(
reverse
(
sort
(
keys
%
hash
))
)
{
if
(
$type
=~
/$org/
)
{
(
$before
,
$after
)
=
(
$type
=~
/^(.*)$org(.*)$/
);
return
"$before$hash{$org}$after"
;
...
...
@@ -476,7 +476,8 @@ $pseudo_to_opengl{"IglooParameterSGIX"} = "GLint";
[
"GLfloat"
,
"readfreq"
],
[
"GLfloat"
,
"writefreq"
],
[
"GLfloat"
,
"priority"
]
],
"glXAllocateMemoryNV"
],
"wglFreeMemoryNV"
=>
[
"wglFreeMemoryNV"
,
"void"
,
[
[
"GLvoid *"
,
"pointer"
]
],
"glXFreeMemoryNV"
]
"wglFreeMemoryNV"
=>
[
"wglFreeMemoryNV"
,
"void"
,
[
[
"GLvoid *"
,
"pointer"
]
],
"glXFreeMemoryNV"
],
"glDeleteObjectBufferATI"
=>
[
"glDeleteObjectBufferATI"
,
"void"
,
[
[
"GLuint"
,
"buffer"
]
],
"glDeleteObjectBufferATI"
]
);
...
...
dlls/opengl32/opengl_ext.c
View file @
8bbabd16
...
...
@@ -138,6 +138,7 @@ void (*func_glDeleteFencesAPPLE)( GLsizei, GLuint* ) = (void *) 0xdeadbeef;
void
(
*
func_glDeleteFencesNV
)(
GLsizei
,
GLuint
*
)
=
(
void
*
)
0xdeadbeef
;
void
(
*
func_glDeleteFragmentShaderATI
)(
GLuint
)
=
(
void
*
)
0xdeadbeef
;
void
(
*
func_glDeleteObjectARB
)(
unsigned
int
)
=
(
void
*
)
0xdeadbeef
;
void
(
*
func_glDeleteObjectBufferATI
)(
GLuint
)
=
(
void
*
)
0xdeadbeef
;
void
(
*
func_glDeleteOcclusionQueriesNV
)(
GLsizei
,
GLuint
*
)
=
(
void
*
)
0xdeadbeef
;
void
(
*
func_glDeleteProgramsARB
)(
GLsizei
,
GLuint
*
)
=
(
void
*
)
0xdeadbeef
;
void
(
*
func_glDeleteProgramsNV
)(
GLsizei
,
GLuint
*
)
=
(
void
*
)
0xdeadbeef
;
...
...
@@ -1120,6 +1121,7 @@ void WINAPI wine_glDeleteFencesAPPLE( GLsizei, GLuint* );
void
WINAPI
wine_glDeleteFencesNV
(
GLsizei
,
GLuint
*
);
void
WINAPI
wine_glDeleteFragmentShaderATI
(
GLuint
);
void
WINAPI
wine_glDeleteObjectARB
(
unsigned
int
);
void
WINAPI
wine_glDeleteObjectBufferATI
(
GLuint
);
void
WINAPI
wine_glDeleteOcclusionQueriesNV
(
GLsizei
,
GLuint
*
);
void
WINAPI
wine_glDeleteProgramsARB
(
GLsizei
,
GLuint
*
);
void
WINAPI
wine_glDeleteProgramsNV
(
GLsizei
,
GLuint
*
);
...
...
@@ -1971,8 +1973,8 @@ void WINAPI wine_wglFreeMemoryNV( GLvoid * );
/* The table giving the correspondance between names and functions */
int
extension_registry_size
=
9
79
;
OpenGL_extension
extension_registry
[
9
79
]
=
{
int
extension_registry_size
=
9
80
;
OpenGL_extension
extension_registry
[
9
80
]
=
{
{
"glActiveStencilFaceEXT"
,
"glActiveStencilFaceEXT"
,
(
void
*
)
wine_glActiveStencilFaceEXT
,
(
void
**
)
(
&
func_glActiveStencilFaceEXT
)
},
{
"glActiveTexture"
,
"glActiveTexture"
,
(
void
*
)
wine_glActiveTexture
,
(
void
**
)
(
&
func_glActiveTexture
)
},
{
"glActiveTextureARB"
,
"glActiveTextureARB"
,
(
void
*
)
wine_glActiveTextureARB
,
(
void
**
)
(
&
func_glActiveTextureARB
)
},
...
...
@@ -2104,6 +2106,7 @@ OpenGL_extension extension_registry[979] = {
{
"glDeleteFencesNV"
,
"glDeleteFencesNV"
,
(
void
*
)
wine_glDeleteFencesNV
,
(
void
**
)
(
&
func_glDeleteFencesNV
)
},
{
"glDeleteFragmentShaderATI"
,
"glDeleteFragmentShaderATI"
,
(
void
*
)
wine_glDeleteFragmentShaderATI
,
(
void
**
)
(
&
func_glDeleteFragmentShaderATI
)
},
{
"glDeleteObjectARB"
,
"glDeleteObjectARB"
,
(
void
*
)
wine_glDeleteObjectARB
,
(
void
**
)
(
&
func_glDeleteObjectARB
)
},
{
"glDeleteObjectBufferATI"
,
"glDeleteObjectBufferATI"
,
(
void
*
)
wine_glDeleteObjectBufferATI
,
(
void
**
)
(
&
func_glDeleteObjectBufferATI
)
},
{
"glDeleteOcclusionQueriesNV"
,
"glDeleteOcclusionQueriesNV"
,
(
void
*
)
wine_glDeleteOcclusionQueriesNV
,
(
void
**
)
(
&
func_glDeleteOcclusionQueriesNV
)
},
{
"glDeleteProgramsARB"
,
"glDeleteProgramsARB"
,
(
void
*
)
wine_glDeleteProgramsARB
,
(
void
**
)
(
&
func_glDeleteProgramsARB
)
},
{
"glDeleteProgramsNV"
,
"glDeleteProgramsNV"
,
(
void
*
)
wine_glDeleteProgramsNV
,
(
void
**
)
(
&
func_glDeleteProgramsNV
)
},
...
...
@@ -3892,6 +3895,13 @@ void WINAPI wine_glDeleteObjectARB( unsigned int obj ) {
LEAVE_GL
();
}
void
WINAPI
wine_glDeleteObjectBufferATI
(
GLuint
buffer
)
{
TRACE
(
"(%d)
\n
"
,
buffer
);
ENTER_GL
();
func_glDeleteObjectBufferATI
(
buffer
);
LEAVE_GL
();
}
void
WINAPI
wine_glDeleteOcclusionQueriesNV
(
GLsizei
n
,
GLuint
*
ids
)
{
TRACE
(
"(%d, %p)
\n
"
,
n
,
ids
);
ENTER_GL
();
...
...
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