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
9fdc759b
Commit
9fdc759b
authored
Apr 21, 2003
by
Jason Edmeades
Committed by
Alexandre Julliard
Apr 21, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MIRROR_ARB support is not dependent on OpenGL 1.3 as I originally
ifdef'ed. It is apparently introduced fully in 1.4, or dependent on another ifdef, GL_ARB_texture_mirrored_repeat.
parent
0c2c71bc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
device.c
dlls/d3d8/device.c
+5
-4
No files found.
dlls/d3d8/device.c
View file @
9fdc759b
...
...
@@ -3011,7 +3011,7 @@ HRESULT WINAPI IDirect3DDevice8Impl_SetTexture(LPDIRECT3DDEVICE8 iface, DWORD
IDirect3DTexture8Impl
*
pTexture2
=
(
IDirect3DTexture8Impl
*
)
pTexture
;
int
i
;
if
(
oldTxt
==
pTexture
2
&&
pTexture2
->
Dirty
==
FALSE
)
{
if
(
oldTxt
==
pTexture
&&
pTexture2
->
Dirty
==
FALSE
)
{
TRACE
(
"Skipping setting texture as old == new
\n
"
);
reapplyStates
=
FALSE
;
}
else
{
...
...
@@ -3461,13 +3461,14 @@ HRESULT WINAPI IDirect3DDevice8Impl_SetTextureStageState(LPDIRECT3DDEVICE8 ifa
case
D3DTADDRESS_WRAP
:
wrapParm
=
GL_REPEAT
;
break
;
case
D3DTADDRESS_CLAMP
:
wrapParm
=
GL_CLAMP_TO_EDGE
;
break
;
case
D3DTADDRESS_BORDER
:
wrapParm
=
GL_REPEAT
;
break
;
/* FIXME: Not right, but better */
#if defined(GL_VERSION_1_3)
#if defined(GL_VERSION_1_4)
case
D3DTADDRESS_MIRROR
:
wrapParm
=
GL_MIRRORED_REPEAT
;
break
;
#elif defined(GL_ARB_texture_mirrored_repeat)
case
D3DTADDRESS_MIRROR
:
wrapParm
=
GL_MIRRORED_REPEAT_ARB
;
break
;
case
D3DTADDRESS_MIRRORONCE
:
/* Unsupported in OpenGL but pretent mirror */
#else
case
D3DTADDRESS_MIRROR
:
/* Unsupported in OpenGL pre-1.4 */
case
D3DTADDRESS_MIRRORONCE
:
/* Unsupported in OpenGL */
#endif
case
D3DTADDRESS_MIRRORONCE
:
/* Unsupported in OpenGL */
default:
FIXME
(
"Unrecognized or unsupported D3DTADDRESS_* value %ld, state %d
\n
"
,
Value
,
Type
);
wrapParm
=
GL_REPEAT
;
...
...
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