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
f53451dd
Commit
f53451dd
authored
Aug 02, 2009
by
Stefan Dösinger
Committed by
Alexandre Julliard
Aug 05, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Only use WINE_normalized_texrect if ARB_texture_np2 is supported.
parent
2e9362d0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
directx.c
dlls/wined3d/directx.c
+6
-3
No files found.
dlls/wined3d/directx.c
View file @
f53451dd
...
...
@@ -715,9 +715,12 @@ static void quirk_ati_dx9(struct wined3d_gl_info *gl_info)
* fglrx doesn't advertise GL_ARB_texture_non_power_of_two, but it advertises opengl 2.0 which
* has this extension promoted to core. The extension loading code sets this extension supported
* due to that, so this code works on fglrx as well. */
TRACE
(
"GL_ARB_texture_non_power_of_two advertised on R500 or earlier card, removing.
\n
"
);
gl_info
->
supported
[
ARB_TEXTURE_NON_POWER_OF_TWO
]
=
FALSE
;
gl_info
->
supported
[
WINE_NORMALIZED_TEXRECT
]
=
TRUE
;
if
(
gl_info
->
supported
[
ARB_TEXTURE_NON_POWER_OF_TWO
])
{
TRACE
(
"GL_ARB_texture_non_power_of_two advertised on R500 or earlier card, removing.
\n
"
);
gl_info
->
supported
[
ARB_TEXTURE_NON_POWER_OF_TWO
]
=
FALSE
;
gl_info
->
supported
[
WINE_NORMALIZED_TEXRECT
]
=
TRUE
;
}
/* fglrx has the same structural issues as the one described in quirk_apple_glsl_constants, although
* it is generally more efficient. Reserve just 8 constants. */
...
...
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