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
ebf4e530
Commit
ebf4e530
authored
Jul 28, 2005
by
Mike McCormack
Committed by
Alexandre Julliard
Jul 28, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix sign warnings.
parent
8955ac43
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
12 additions
and
12 deletions
+12
-12
device.c
dlls/d3d8/device.c
+7
-7
directx.c
dlls/d3d8/directx.c
+2
-2
drawprim.c
dlls/d3d8/drawprim.c
+1
-1
surface.c
dlls/d3d8/surface.c
+2
-2
No files found.
dlls/d3d8/device.c
View file @
ebf4e530
...
...
@@ -1175,7 +1175,7 @@ HRESULT WINAPI IDirect3DDevice8Impl_GetFrontBuffer(LPDIRECT3DDEVICE8 iface, ID
D3DLOCKED_RECT
lockedRect
;
RECT
wantedRect
;
GLint
prev_store
;
GL
enum
prev_read
;
GL
int
prev_read
;
IDirect3DDevice8Impl
*
This
=
(
IDirect3DDevice8Impl
*
)
iface
;
...
...
@@ -2667,8 +2667,8 @@ HRESULT WINAPI IDirect3DDevice8Impl_SetRenderState(LPDIRECT3DDEVICE8 iface, D3
case
D3DRS_STENCILFAIL
:
{
GLenum
fail
;
GL
enum
zpass
;
GL
enum
zfail
;
GL
int
zpass
;
GL
int
zfail
;
fail
=
StencilOp
(
Value
);
glGetIntegerv
(
GL_STENCIL_PASS_DEPTH_PASS
,
&
zpass
);
...
...
@@ -2683,8 +2683,8 @@ HRESULT WINAPI IDirect3DDevice8Impl_SetRenderState(LPDIRECT3DDEVICE8 iface, D3
break
;
case
D3DRS_STENCILZFAIL
:
{
GL
enum
fail
;
GL
enum
zpass
;
GL
int
fail
;
GL
int
zpass
;
GLenum
zfail
;
glGetIntegerv
(
GL_STENCIL_FAIL
,
&
fail
);
...
...
@@ -2700,9 +2700,9 @@ HRESULT WINAPI IDirect3DDevice8Impl_SetRenderState(LPDIRECT3DDEVICE8 iface, D3
break
;
case
D3DRS_STENCILPASS
:
{
GL
enum
fail
;
GL
int
fail
;
GLenum
zpass
;
GL
enum
zfail
;
GL
int
zfail
;
glGetIntegerv
(
GL_STENCIL_FAIL
,
&
fail
);
checkGLcall
(
"glGetIntegerv(GL_STENCIL_FAIL, &fail);"
);
...
...
dlls/d3d8/directx.c
View file @
ebf4e530
...
...
@@ -526,7 +526,7 @@ static void IDirect3D8Impl_FillGLCaps(LPDIRECT3D8 iface, Display* display) {
}
}
#define USE_GL_FUNC(type, pfn) This->gl_info.pfn = (type) glXGetProcAddressARB(#pfn);
#define USE_GL_FUNC(type, pfn) This->gl_info.pfn = (type) glXGetProcAddressARB(
(const GLubyte *)
#pfn);
GL_EXT_FUNCS_GEN
;
#undef USE_GL_FUNC
...
...
@@ -552,7 +552,7 @@ static void IDirect3D8Impl_FillGLCaps(LPDIRECT3D8 iface, Display* display) {
}
}
#define USE_GL_FUNC(type, pfn) This->gl_info.pfn = (type) glXGetProcAddressARB(#pfn);
#define USE_GL_FUNC(type, pfn) This->gl_info.pfn = (type) glXGetProcAddressARB(
(const GLubyte *)
#pfn);
GLX_EXT_FUNCS_GEN
;
#undef USE_GL_FUNC
...
...
dlls/d3d8/drawprim.c
View file @
ebf4e530
...
...
@@ -1375,7 +1375,7 @@ static void drawStridedHardwareVS(LPDIRECT3DDEVICE8 iface, Direct3DVertexStrided
IDirect3DVertexShaderImpl
*
vertex_shader
=
NULL
;
int
i
;
int
NumVertexes
;
int
glPrimType
;
GLenum
glPrimType
;
int
maxAttribs
;
IDirect3DDevice8Impl
*
This
=
(
IDirect3DDevice8Impl
*
)
iface
;
...
...
dlls/d3d8/surface.c
View file @
ebf4e530
...
...
@@ -205,7 +205,7 @@ HRESULT WINAPI IDirect3DSurface8Impl_LockRect(LPDIRECT3DSURFACE8 iface, D3DLOCKE
if
(
This
==
This
->
Device
->
backBuffer
||
This
==
This
->
Device
->
renderTarget
||
This
==
This
->
Device
->
frontBuffer
)
{
GLint
prev_store
;
GL
enum
prev_read
;
GL
int
prev_read
;
ENTER_GL
();
...
...
@@ -329,7 +329,7 @@ HRESULT WINAPI IDirect3DSurface8Impl_UnlockRect(LPDIRECT3DSURFACE8 iface) {
if
(
This
==
This
->
Device
->
backBuffer
||
This
==
This
->
Device
->
frontBuffer
||
This
==
This
->
Device
->
renderTarget
)
{
GLint
prev_store
;
GL
enum
prev_draw
;
GL
int
prev_draw
;
GLint
prev_rasterpos
[
4
];
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