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
439076d5
Commit
439076d5
authored
Apr 09, 2015
by
Stefan Dösinger
Committed by
Alexandre Julliard
Apr 10, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Allow ARB blits from converted surfaces.
parent
82db5954
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
21 deletions
+0
-21
arb_program_shader.c
dlls/wined3d/arb_program_shader.c
+0
-21
No files found.
dlls/wined3d/arb_program_shader.c
View file @
439076d5
...
...
@@ -7572,13 +7572,6 @@ static HRESULT arbfp_blit_set(void *blit_priv, struct wined3d_context *context,
struct
arbfp_blit_type
type
;
struct
arbfp_blit_desc
*
desc
;
if
(
surface
->
container
->
flags
&
WINED3D_TEXTURE_CONVERTED
)
{
gl_info
->
gl_ops
.
gl
.
p_glEnable
(
gl_texture_type
);
checkGLcall
(
"glEnable(gl_texture_type)"
);
return
WINED3D_OK
;
}
if
(
is_complex_fixup
(
surface
->
resource
.
format
->
color_fixup
))
fixup
=
get_complex_fixup
(
surface
->
resource
.
format
->
color_fixup
);
else
...
...
@@ -7644,8 +7637,6 @@ static HRESULT arbfp_blit_set(void *blit_priv, struct wined3d_context *context,
if
(
!
shader
)
{
FIXME
(
"Unsupported complex fixup %#x, not setting a shader
\n
"
,
fixup
);
gl_info
->
gl_ops
.
gl
.
p_glEnable
(
gl_texture_type
);
checkGLcall
(
"glEnable(gl_texture_type)"
);
return
E_NOTIMPL
;
}
...
...
@@ -7686,18 +7677,6 @@ static void arbfp_blit_unset(const struct wined3d_gl_info *gl_info)
{
gl_info
->
gl_ops
.
gl
.
p_glDisable
(
GL_FRAGMENT_PROGRAM_ARB
);
checkGLcall
(
"glDisable(GL_FRAGMENT_PROGRAM_ARB)"
);
gl_info
->
gl_ops
.
gl
.
p_glDisable
(
GL_TEXTURE_2D
);
checkGLcall
(
"glDisable(GL_TEXTURE_2D)"
);
if
(
gl_info
->
supported
[
ARB_TEXTURE_CUBE_MAP
])
{
gl_info
->
gl_ops
.
gl
.
p_glDisable
(
GL_TEXTURE_CUBE_MAP_ARB
);
checkGLcall
(
"glDisable(GL_TEXTURE_CUBE_MAP_ARB)"
);
}
if
(
gl_info
->
supported
[
ARB_TEXTURE_RECTANGLE
])
{
gl_info
->
gl_ops
.
gl
.
p_glDisable
(
GL_TEXTURE_RECTANGLE_ARB
);
checkGLcall
(
"glDisable(GL_TEXTURE_RECTANGLE_ARB)"
);
}
}
static
BOOL
arbfp_blit_supported
(
const
struct
wined3d_gl_info
*
gl_info
,
enum
wined3d_blit_op
blit_op
,
...
...
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