wined3d: Move struct wined3d_rendertarget_info to wined3d_gl.h.

This commit is contained in:
Zebediah Figura 2023-01-06 15:59:20 -06:00 committed by Alexandre Julliard
parent ca954a0571
commit 0057357ffd
2 changed files with 15 additions and 15 deletions

View file

@ -550,4 +550,18 @@ struct wined3d_pipeline_statistics_query
BOOL started; BOOL started;
}; };
struct wined3d_gl_view
{
GLenum target;
GLuint name;
};
struct wined3d_rendertarget_info
{
struct wined3d_gl_view gl_view;
struct wined3d_resource *resource;
unsigned int sub_resource_idx;
unsigned int layer_count;
};
#endif /* __WINE_WINED3D_GL */ #endif /* __WINE_WINED3D_GL */

View file

@ -1882,29 +1882,15 @@ struct wined3d_query
bool poll_in_cs; bool poll_in_cs;
}; };
#include "wined3d_gl.h"
#define WINED3D_QUERY_POOL_SIZE 256 #define WINED3D_QUERY_POOL_SIZE 256
struct wined3d_gl_view
{
GLenum target;
GLuint name;
};
struct wined3d_range struct wined3d_range
{ {
unsigned int offset; unsigned int offset;
unsigned int size; unsigned int size;
}; };
struct wined3d_rendertarget_info #include "wined3d_gl.h"
{
struct wined3d_gl_view gl_view;
struct wined3d_resource *resource;
unsigned int sub_resource_idx;
unsigned int layer_count;
};
struct wined3d_fb_state struct wined3d_fb_state
{ {