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
e5e41191
Commit
e5e41191
authored
Aug 21, 2007
by
H. Verbeet
Committed by
Alexandre Julliard
Aug 22, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Attach the correct surface the the fbo.
parent
2e2ab3c3
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
device.c
dlls/wined3d/device.c
+4
-2
No files found.
dlls/wined3d/device.c
View file @
e5e41191
...
@@ -5505,7 +5505,8 @@ static void attach_surface_fbo(IWineD3DDeviceImpl *This, GLenum fbo_target, DWOR
...
@@ -5505,7 +5505,8 @@ static void attach_surface_fbo(IWineD3DDeviceImpl *This, GLenum fbo_target, DWOR
IWineD3DBaseTexture_Release
((
IWineD3DBaseTexture
*
)
texture_impl
);
IWineD3DBaseTexture_Release
((
IWineD3DBaseTexture
*
)
texture_impl
);
}
}
GL_EXTCALL
(
glFramebufferTexture2DEXT
(
fbo_target
,
GL_COLOR_ATTACHMENT0_EXT
+
idx
,
texttarget
,
surface_impl
->
glDescription
.
textureName
,
0
));
GL_EXTCALL
(
glFramebufferTexture2DEXT
(
fbo_target
,
GL_COLOR_ATTACHMENT0_EXT
+
idx
,
texttarget
,
surface_impl
->
glDescription
.
textureName
,
surface_impl
->
glDescription
.
level
));
checkGLcall
(
"attach_surface_fbo"
);
checkGLcall
(
"attach_surface_fbo"
);
}
}
...
@@ -5742,7 +5743,8 @@ static void set_depth_stencil_fbo(IWineD3DDevice *iface, IWineD3DSurface *depth_
...
@@ -5742,7 +5743,8 @@ static void set_depth_stencil_fbo(IWineD3DDevice *iface, IWineD3DSurface *depth_
IWineD3DBaseTexture_Release
((
IWineD3DBaseTexture
*
)
texture_impl
);
IWineD3DBaseTexture_Release
((
IWineD3DBaseTexture
*
)
texture_impl
);
}
}
GL_EXTCALL
(
glFramebufferTexture2DEXT
(
GL_FRAMEBUFFER_EXT
,
GL_DEPTH_ATTACHMENT_EXT
,
texttarget
,
depth_stencil_impl
->
glDescription
.
textureName
,
0
));
GL_EXTCALL
(
glFramebufferTexture2DEXT
(
GL_FRAMEBUFFER_EXT
,
GL_DEPTH_ATTACHMENT_EXT
,
texttarget
,
depth_stencil_impl
->
glDescription
.
textureName
,
depth_stencil_impl
->
glDescription
.
level
));
checkGLcall
(
"glFramebufferTexture2DEXT()"
);
checkGLcall
(
"glFramebufferTexture2DEXT()"
);
}
}
}
else
{
}
else
{
...
...
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