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
8f604afa
Commit
8f604afa
authored
Mar 21, 2010
by
Roderick Colenbrander
Committed by
Alexandre Julliard
Mar 22, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Remove WGL RGBA float support because it doesn't make sense without pbuffers.
parent
28a2c7ab
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
16 deletions
+1
-16
directx.c
dlls/wined3d/directx.c
+1
-16
No files found.
dlls/wined3d/directx.c
View file @
8f604afa
...
@@ -2885,24 +2885,9 @@ static BOOL IWineD3DImpl_IsPixelFormatCompatibleWithRenderFmt(const struct wined
...
@@ -2885,24 +2885,9 @@ static BOOL IWineD3DImpl_IsPixelFormatCompatibleWithRenderFmt(const struct wined
return
FALSE
;
return
FALSE
;
return
TRUE
;
return
TRUE
;
}
else
if
(
cfg
->
iPixelType
==
WGL_TYPE_RGBA_FLOAT_ARB
)
{
/* Float RGBA formats; TODO: WGL_NV_float_buffer */
if
(
format_desc
->
format
==
WINED3DFMT_R16_FLOAT
)
return
(
cfg
->
redSize
==
16
&&
cfg
->
greenSize
==
0
&&
cfg
->
blueSize
==
0
&&
cfg
->
alphaSize
==
0
);
if
(
format_desc
->
format
==
WINED3DFMT_R16G16_FLOAT
)
return
(
cfg
->
redSize
==
16
&&
cfg
->
greenSize
==
16
&&
cfg
->
blueSize
==
0
&&
cfg
->
alphaSize
==
0
);
if
(
format_desc
->
format
==
WINED3DFMT_R16G16B16A16_FLOAT
)
return
(
cfg
->
redSize
==
16
&&
cfg
->
greenSize
==
16
&&
cfg
->
blueSize
==
16
&&
cfg
->
alphaSize
==
16
);
if
(
format_desc
->
format
==
WINED3DFMT_R32_FLOAT
)
return
(
cfg
->
redSize
==
32
&&
cfg
->
greenSize
==
0
&&
cfg
->
blueSize
==
0
&&
cfg
->
alphaSize
==
0
);
if
(
format_desc
->
format
==
WINED3DFMT_R32G32_FLOAT
)
return
(
cfg
->
redSize
==
32
&&
cfg
->
greenSize
==
32
&&
cfg
->
blueSize
==
0
&&
cfg
->
alphaSize
==
0
);
if
(
format_desc
->
format
==
WINED3DFMT_R32G32B32A32_FLOAT
)
return
(
cfg
->
redSize
==
32
&&
cfg
->
greenSize
==
32
&&
cfg
->
blueSize
==
32
&&
cfg
->
alphaSize
==
32
);
}
else
{
/* Probably a color index mode */
return
FALSE
;
}
}
/* Probably a RGBA_float or color index mode */
return
FALSE
;
return
FALSE
;
}
}
...
...
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