Commit 8618b09e authored by Zebediah Figura's avatar Zebediah Figura Committed by Alexandre Julliard

wined3d: Move struct fbo_entry to wined3d_gl.h.

parent 951d0e94
......@@ -574,6 +574,30 @@ struct wined3d_command_fence_gl
#define MAX_GL_FRAGMENT_SAMPLERS 32
struct wined3d_fbo_resource
{
GLuint object;
GLenum target;
GLuint level, layer;
};
#define WINED3D_FBO_ENTRY_FLAG_ATTACHED 0x1
#define WINED3D_FBO_ENTRY_FLAG_DEPTH 0x2
#define WINED3D_FBO_ENTRY_FLAG_STENCIL 0x4
struct fbo_entry
{
struct list entry;
uint32_t flags;
uint32_t rt_mask;
GLuint id;
struct wined3d_fbo_entry_key
{
uint32_t rb_namespace;
struct wined3d_fbo_resource objects[WINED3D_MAX_RENDER_TARGETS + 1];
} key;
};
struct wined3d_context_gl
{
struct wined3d_context c;
......
......@@ -3517,30 +3517,6 @@ HRESULT wined3d_texture_no3d_init(struct wined3d_texture *texture_no3d, struct w
#include "wined3d_gl.h"
struct wined3d_fbo_resource
{
GLuint object;
GLenum target;
GLuint level, layer;
};
#define WINED3D_FBO_ENTRY_FLAG_ATTACHED 0x1
#define WINED3D_FBO_ENTRY_FLAG_DEPTH 0x2
#define WINED3D_FBO_ENTRY_FLAG_STENCIL 0x4
struct fbo_entry
{
struct list entry;
uint32_t flags;
uint32_t rt_mask;
GLuint id;
struct wined3d_fbo_entry_key
{
DWORD rb_namespace;
struct wined3d_fbo_resource objects[WINED3D_MAX_RENDER_TARGETS + 1];
} key;
};
struct wined3d_sampler
{
struct wine_rb_entry entry;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment