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
c301b390
Commit
c301b390
authored
Dec 16, 2002
by
Christian Costa
Committed by
Alexandre Julliard
Dec 16, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Improve traces + small fix.
parent
8377b9d4
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
9 deletions
+9
-9
d3dtexture.c
dlls/ddraw/d3dtexture.c
+1
-1
mesa.c
dlls/ddraw/mesa.c
+8
-8
No files found.
dlls/ddraw/d3dtexture.c
View file @
c301b390
...
...
@@ -854,8 +854,8 @@ HRESULT d3dtexture_create(IDirect3DImpl *d3d, IDirectDrawSurfaceImpl *surf, BOOL
ICOM_INIT_INTERFACE
(
surf
,
IDirect3DTexture
,
VTABLE_IDirect3DTexture
);
ICOM_INIT_INTERFACE
(
surf
,
IDirect3DTexture2
,
VTABLE_IDirect3DTexture2
);
ENTER_GL
();
if
(
mipmap_level
==
0
)
{
ENTER_GL
();
glGenTextures
(
1
,
&
(
private
->
tex_name
));
if
(
private
->
tex_name
==
0
)
ERR
(
"Error at creation of OpenGL texture ID !
\n
"
);
TRACE
(
" GL texture created (private data at %p and GL id %d).
\n
"
,
private
,
private
->
tex_name
);
...
...
dlls/ddraw/mesa.c
View file @
c301b390
...
...
@@ -127,7 +127,7 @@ void set_render_state(D3DRENDERSTATETYPE dwRenderStateType,
glPolygonMode
(
GL_FRONT_AND_BACK
,
GL_FILL
);
break
;
default:
ERR
(
"Unhandled fill mode
!
\n
"
);
ERR
(
"Unhandled fill mode
%ld !
\n
"
,
dwRenderState
);
}
break
;
...
...
@@ -140,7 +140,7 @@ void set_render_state(D3DRENDERSTATETYPE dwRenderStateType,
glShadeModel
(
GL_SMOOTH
);
break
;
default:
ERR
(
"Unhandled shade mode
!
\n
"
);
ERR
(
"Unhandled shade mode
%ld !
\n
"
,
dwRenderState
);
}
break
;
...
...
@@ -167,7 +167,7 @@ void set_render_state(D3DRENDERSTATETYPE dwRenderStateType,
rs
->
mag
=
GL_LINEAR
;
break
;
default:
ERR
(
"Unhandled texture mag
!
\n
"
);
ERR
(
"Unhandled texture mag
%ld !
\n
"
,
dwRenderState
);
}
break
;
...
...
@@ -180,7 +180,7 @@ void set_render_state(D3DRENDERSTATETYPE dwRenderStateType,
rs
->
mag
=
GL_LINEAR
;
break
;
default:
ERR
(
"Unhandled texture min
!
\n
"
);
ERR
(
"Unhandled texture min
%ld !
\n
"
,
dwRenderState
);
}
break
;
...
...
@@ -193,7 +193,7 @@ void set_render_state(D3DRENDERSTATETYPE dwRenderStateType,
rs
->
src
=
GL_SRC_ALPHA
;
break
;
default:
ERR
(
"Unhandled blend mode
!
\n
"
);
ERR
(
"Unhandled blend mode
%ld !
\n
"
,
dwRenderState
);
}
glBlendFunc
(
rs
->
src
,
rs
->
dst
);
break
;
...
...
@@ -207,7 +207,7 @@ void set_render_state(D3DRENDERSTATETYPE dwRenderStateType,
rs
->
dst
=
GL_ONE_MINUS_SRC_ALPHA
;
break
;
default:
ERR
(
"Unhandled blend mode
!
\n
"
);
ERR
(
"Unhandled blend mode
%ld !
\n
"
,
dwRenderState
);
}
glBlendFunc
(
rs
->
src
,
rs
->
dst
);
break
;
...
...
@@ -219,7 +219,7 @@ void set_render_state(D3DRENDERSTATETYPE dwRenderStateType,
glTexEnvi
(
GL_TEXTURE_ENV
,
GL_TEXTURE_ENV_MODE
,
GL_MODULATE
);
break
;
default:
ERR
(
"Unhandled texture environment
!
\n
"
);
ERR
(
"Unhandled texture environment
%ld !
\n
"
,
dwRenderState
);
}
break
;
...
...
@@ -237,7 +237,7 @@ void set_render_state(D3DRENDERSTATETYPE dwRenderStateType,
glFrontFace
(
GL_CCW
);
break
;
default:
ERR
(
"Unhandled cull mode
!
\n
"
);
ERR
(
"Unhandled cull mode
%ld !
\n
"
,
dwRenderState
);
}
break
;
...
...
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