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
c4cc10a5
Commit
c4cc10a5
authored
Apr 16, 2007
by
H. Verbeet
Committed by
Alexandre Julliard
Apr 17, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Add a function for dumping FBO status codes.
parent
2669af73
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
21 additions
and
1 deletion
+21
-1
device.c
dlls/wined3d/device.c
+1
-1
utils.c
dlls/wined3d/utils.c
+19
-0
wined3d_private.h
dlls/wined3d/wined3d_private.h
+1
-0
No files found.
dlls/wined3d/device.c
View file @
c4cc10a5
...
...
@@ -5193,7 +5193,7 @@ static void check_fbo_status(IWineD3DDevice *iface) {
status
=
GL_EXTCALL
(
glCheckFramebufferStatusEXT
(
GL_FRAMEBUFFER_EXT
));
switch
(
status
)
{
case
GL_FRAMEBUFFER_COMPLETE_EXT
:
TRACE
(
"FBO complete.
\n
"
);
break
;
default
:
FIXME
(
"FBO status %
#x.
\n
"
,
status
);
break
;
default
:
FIXME
(
"FBO status %
s (%#x)
\n
"
,
debug_fbostatus
(
status
)
,
status
);
break
;
}
}
...
...
dlls/wined3d/utils.c
View file @
c4cc10a5
...
...
@@ -696,6 +696,25 @@ const char* debug_d3dpool(WINED3DPOOL Pool) {
}
}
const
char
*
debug_fbostatus
(
GLenum
status
)
{
switch
(
status
)
{
#define FBOSTATUS_TO_STR(u) case u: return #u
FBOSTATUS_TO_STR
(
GL_FRAMEBUFFER_COMPLETE_EXT
);
FBOSTATUS_TO_STR
(
GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT_EXT
);
FBOSTATUS_TO_STR
(
GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT_EXT
);
FBOSTATUS_TO_STR
(
GL_FRAMEBUFFER_INCOMPLETE_DUPLICATE_ATTACHMENT_EXT
);
FBOSTATUS_TO_STR
(
GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS_EXT
);
FBOSTATUS_TO_STR
(
GL_FRAMEBUFFER_INCOMPLETE_FORMATS_EXT
);
FBOSTATUS_TO_STR
(
GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER_EXT
);
FBOSTATUS_TO_STR
(
GL_FRAMEBUFFER_INCOMPLETE_READ_BUFFER_EXT
);
FBOSTATUS_TO_STR
(
GL_FRAMEBUFFER_UNSUPPORTED_EXT
);
#undef FBOSTATUS_TO_STR
default:
FIXME
(
"Unrecognied FBO status 0x%08x
\n
"
,
status
);
return
"unrecognized"
;
}
}
/*****************************************************************************
* Useful functions mapping GL <-> D3D values
*/
...
...
dlls/wined3d/wined3d_private.h
View file @
c4cc10a5
...
...
@@ -1402,6 +1402,7 @@ const char* debug_d3dtexturefiltertype(WINED3DTEXTUREFILTERTYPE filter_type);
const
char
*
debug_d3dtexturestate
(
DWORD
state
);
const
char
*
debug_d3dtstype
(
WINED3DTRANSFORMSTATETYPE
tstype
);
const
char
*
debug_d3dpool
(
WINED3DPOOL
pool
);
const
char
*
debug_fbostatus
(
GLenum
status
);
/* Routines for GL <-> D3D values */
GLenum
StencilOp
(
DWORD
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