1
0
mirror of https://github.com/wine-mirror/wine synced 2024-07-08 03:45:57 +00:00

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;
};
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 */

View File

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