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
a64febd3
Commit
a64febd3
authored
Jul 22, 2006
by
Stefan Dösinger
Committed by
Alexandre Julliard
Jul 24, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Reactivate the X bits fixup.
parent
dc4d5b0f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
6 deletions
+1
-6
surface.c
dlls/wined3d/surface.c
+1
-6
No files found.
dlls/wined3d/surface.c
View file @
a64febd3
...
@@ -861,7 +861,6 @@ static void flush_to_framebuffer_drawpixels(IWineD3DSurfaceImpl *This) {
...
@@ -861,7 +861,6 @@ static void flush_to_framebuffer_drawpixels(IWineD3DSurfaceImpl *This) {
case
WINED3DFMT_X4R4G4B4
:
case
WINED3DFMT_X4R4G4B4
:
{
{
#if 0 /* Do we still need that? Those pixel formats have no alpha channel in gl any more */
int
size
;
int
size
;
unsigned
short
*
data
;
unsigned
short
*
data
;
data
=
(
unsigned
short
*
)
This
->
resource
.
allocatedMemory
;
data
=
(
unsigned
short
*
)
This
->
resource
.
allocatedMemory
;
...
@@ -871,7 +870,6 @@ static void flush_to_framebuffer_drawpixels(IWineD3DSurfaceImpl *This) {
...
@@ -871,7 +870,6 @@ static void flush_to_framebuffer_drawpixels(IWineD3DSurfaceImpl *This) {
data
++
;
data
++
;
size
--
;
size
--
;
}
}
#endif
type
=
This
->
glDescription
.
glType
;
type
=
This
->
glDescription
.
glType
;
fmt
=
This
->
glDescription
.
glFormat
;
fmt
=
This
->
glDescription
.
glFormat
;
mem
=
This
->
resource
.
allocatedMemory
;
mem
=
This
->
resource
.
allocatedMemory
;
...
@@ -880,7 +878,6 @@ static void flush_to_framebuffer_drawpixels(IWineD3DSurfaceImpl *This) {
...
@@ -880,7 +878,6 @@ static void flush_to_framebuffer_drawpixels(IWineD3DSurfaceImpl *This) {
case
WINED3DFMT_X1R5G5B5
:
case
WINED3DFMT_X1R5G5B5
:
{
{
#if 0 /* Do we still need that? Those pixel formats have no alpha channel in gl any more */
int
size
;
int
size
;
unsigned
short
*
data
;
unsigned
short
*
data
;
data
=
(
unsigned
short
*
)
This
->
resource
.
allocatedMemory
;
data
=
(
unsigned
short
*
)
This
->
resource
.
allocatedMemory
;
...
@@ -890,7 +887,6 @@ static void flush_to_framebuffer_drawpixels(IWineD3DSurfaceImpl *This) {
...
@@ -890,7 +887,6 @@ static void flush_to_framebuffer_drawpixels(IWineD3DSurfaceImpl *This) {
data
++
;
data
++
;
size
--
;
size
--
;
}
}
#endif
type
=
This
->
glDescription
.
glType
;
type
=
This
->
glDescription
.
glType
;
fmt
=
This
->
glDescription
.
glFormat
;
fmt
=
This
->
glDescription
.
glFormat
;
mem
=
This
->
resource
.
allocatedMemory
;
mem
=
This
->
resource
.
allocatedMemory
;
...
@@ -899,7 +895,6 @@ static void flush_to_framebuffer_drawpixels(IWineD3DSurfaceImpl *This) {
...
@@ -899,7 +895,6 @@ static void flush_to_framebuffer_drawpixels(IWineD3DSurfaceImpl *This) {
case
WINED3DFMT_X8R8G8B8
:
case
WINED3DFMT_X8R8G8B8
:
{
{
#if 0 /* Do we still need that? Those pixel formats have no alpha channel in gl any more */
/* make sure the X byte is set to alpha on, since it
/* make sure the X byte is set to alpha on, since it
could be any random value this fixes the intro move in Pirates! */
could be any random value this fixes the intro move in Pirates! */
int
size
;
int
size
;
...
@@ -911,8 +906,8 @@ static void flush_to_framebuffer_drawpixels(IWineD3DSurfaceImpl *This) {
...
@@ -911,8 +906,8 @@ static void flush_to_framebuffer_drawpixels(IWineD3DSurfaceImpl *This) {
data
++
;
data
++
;
size
--
;
size
--
;
}
}
#endif
}
}
/* Fall trough */
case
WINED3DFMT_A8R8G8B8
:
case
WINED3DFMT_A8R8G8B8
:
{
{
...
...
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