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
e652128f
Commit
e652128f
authored
Jul 24, 2007
by
H. Verbeet
Committed by
Alexandre Julliard
Jul 25, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Pass the correct target to glMultiTexCoord.
parent
25707d4c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
drawprim.c
dlls/wined3d/drawprim.c
+4
-4
No files found.
dlls/wined3d/drawprim.c
View file @
e652128f
...
...
@@ -458,7 +458,7 @@ static void drawStridedSlow(IWineD3DDevice *iface, WineDirect3DVertexStridedData
case
WINED3DTTFF_COUNT1
:
VTRACE
((
"tex:%d, s=%f
\n
"
,
textureNo
,
s
));
if
(
GL_SUPPORT
(
ARB_MULTITEXTURE
))
{
GL_EXTCALL
(
glMultiTexCoord1fARB
(
texture_idx
,
s
));
GL_EXTCALL
(
glMultiTexCoord1fARB
(
GL_TEXTURE0_ARB
+
texture_idx
,
s
));
}
else
{
glTexCoord1f
(
s
);
}
...
...
@@ -466,7 +466,7 @@ static void drawStridedSlow(IWineD3DDevice *iface, WineDirect3DVertexStridedData
case
WINED3DTTFF_COUNT2
:
VTRACE
((
"tex:%d, s=%f, t=%f
\n
"
,
textureNo
,
s
,
t
));
if
(
GL_SUPPORT
(
ARB_MULTITEXTURE
))
{
GL_EXTCALL
(
glMultiTexCoord2fARB
(
texture_idx
,
s
,
t
));
GL_EXTCALL
(
glMultiTexCoord2fARB
(
GL_TEXTURE0_ARB
+
texture_idx
,
s
,
t
));
}
else
{
glTexCoord2f
(
s
,
t
);
}
...
...
@@ -474,7 +474,7 @@ static void drawStridedSlow(IWineD3DDevice *iface, WineDirect3DVertexStridedData
case
WINED3DTTFF_COUNT3
:
VTRACE
((
"tex:%d, s=%f, t=%f, r=%f
\n
"
,
textureNo
,
s
,
t
,
r
));
if
(
GL_SUPPORT
(
ARB_MULTITEXTURE
))
{
GL_EXTCALL
(
glMultiTexCoord3fARB
(
texture_idx
,
s
,
t
,
r
));
GL_EXTCALL
(
glMultiTexCoord3fARB
(
GL_TEXTURE0_ARB
+
texture_idx
,
s
,
t
,
r
));
}
else
{
glTexCoord3f
(
s
,
t
,
r
);
}
...
...
@@ -482,7 +482,7 @@ static void drawStridedSlow(IWineD3DDevice *iface, WineDirect3DVertexStridedData
case
WINED3DTTFF_COUNT4
:
VTRACE
((
"tex:%d, s=%f, t=%f, r=%f, q=%f
\n
"
,
textureNo
,
s
,
t
,
r
,
q
));
if
(
GL_SUPPORT
(
ARB_MULTITEXTURE
))
{
GL_EXTCALL
(
glMultiTexCoord4fARB
(
texture_idx
,
s
,
t
,
r
,
q
));
GL_EXTCALL
(
glMultiTexCoord4fARB
(
GL_TEXTURE0_ARB
+
texture_idx
,
s
,
t
,
r
,
q
));
}
else
{
glTexCoord4f
(
s
,
t
,
r
,
q
);
}
...
...
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