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
437eb42a
Commit
437eb42a
authored
Mar 07, 2024
by
Zebediah Figura
Committed by
Alexandre Julliard
Mar 29, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Require EXT_framebuffer_object.
parent
b9d28851
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
0 deletions
+22
-0
adapter_gl.c
dlls/wined3d/adapter_gl.c
+22
-0
No files found.
dlls/wined3d/adapter_gl.c
View file @
437eb42a
...
...
@@ -3783,6 +3783,8 @@ static BOOL wined3d_adapter_init_gl_caps(struct wined3d_adapter_gl *adapter_gl,
gl_info
->
fbo_ops
.
glBlitFramebuffer
=
gl_info
->
gl_ops
.
ext
.
p_glBlitFramebuffer
;
gl_info
->
fbo_ops
.
glGenerateMipmap
=
gl_info
->
gl_ops
.
ext
.
p_glGenerateMipmap
;
gl_info
->
fbo_ops
.
glFramebufferTexture
=
gl_info
->
gl_ops
.
ext
.
p_glFramebufferTexture
;
gl_info
->
supported
[
EXT_FRAMEBUFFER_OBJECT
]
=
TRUE
;
}
else
{
...
...
@@ -5299,6 +5301,16 @@ static BOOL wined3d_adapter_gl_init(struct wined3d_adapter_gl *adapter_gl,
LUID
primary_luid
,
*
luid
=
NULL
;
unsigned
int
i
;
static
const
struct
{
enum
wined3d_gl_extension
extension
;
const
char
*
string
;
}
required_extensions
[]
=
{
{
EXT_FRAMEBUFFER_OBJECT
,
"EXT_framebuffer_object"
},
};
TRACE
(
"adapter_gl %p, ordinal %u, wined3d_creation_flags %#x.
\n
"
,
adapter_gl
,
ordinal
,
wined3d_creation_flags
);
...
...
@@ -5357,6 +5369,16 @@ static BOOL wined3d_adapter_gl_init(struct wined3d_adapter_gl *adapter_gl,
return
FALSE
;
}
for
(
unsigned
int
i
=
0
;
i
<
ARRAY_SIZE
(
required_extensions
);
++
i
)
{
if
(
!
gl_info
->
supported
[
required_extensions
[
i
].
extension
])
{
ERR
(
"Required extension %s is not supported.
\n
"
,
required_extensions
[
i
].
string
);
wined3d_caps_gl_ctx_destroy
(
&
caps_gl_ctx
);
return
FALSE
;
}
}
gl_info
->
filling_convention_offset
=
wined3d_adapter_find_fill_offset
(
&
caps_gl_ctx
);
wined3d_adapter_gl_init_d3d_info
(
adapter_gl
,
wined3d_creation_flags
);
...
...
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