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
13ceb3fd
Commit
13ceb3fd
authored
Jul 02, 2015
by
Matteo Bruni
Committed by
Alexandre Julliard
Jul 03, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Don't hardcode WINED3DPTEXTURECAPS_NONPOW2CONDITIONAL cap flag.
parent
4f575813
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
directx.c
dlls/wined3d/directx.c
+3
-2
No files found.
dlls/wined3d/directx.c
View file @
13ceb3fd
...
...
@@ -4882,8 +4882,9 @@ HRESULT CDECL wined3d_get_device_caps(const struct wined3d *wined3d, UINT adapte
if
(
!
gl_info
->
supported
[
ARB_TEXTURE_NON_POWER_OF_TWO
])
{
caps
->
TextureCaps
|=
WINED3DPTEXTURECAPS_POW2
|
WINED3DPTEXTURECAPS_NONPOW2CONDITIONAL
;
caps
->
TextureCaps
|=
WINED3DPTEXTURECAPS_POW2
;
if
(
gl_info
->
supported
[
WINED3D_GL_NORMALIZED_TEXRECT
]
||
gl_info
->
supported
[
ARB_TEXTURE_RECTANGLE
])
caps
->
TextureCaps
|=
WINED3DPTEXTURECAPS_NONPOW2CONDITIONAL
;
}
if
(
gl_info
->
supported
[
EXT_TEXTURE3D
])
...
...
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