mirror of
https://github.com/reactos/wine.git
synced 2025-01-22 11:54:47 +00:00
wined3d: Get rid of the WINED3DBASISTYPE typedef.
This commit is contained in:
parent
f38e94af7c
commit
7dac3e0921
@ -834,7 +834,7 @@ HRESULT tesselate_rectpatch(struct wined3d_device *This, struct WineD3DRectPatch
|
||||
*/
|
||||
ERR("Vertex stride is not a multiple of sizeof(GLfloat)\n");
|
||||
}
|
||||
if (info->basis != WINED3DBASIS_BEZIER)
|
||||
if (info->basis != WINED3D_BASIS_BEZIER)
|
||||
FIXME("Basis is %s, how to handle this?\n", debug_d3dbasis(info->basis));
|
||||
if (info->degree != WINED3D_DEGREE_CUBIC)
|
||||
FIXME("Degree is %s, how to handle this?\n", debug_d3ddegree(info->degree));
|
||||
|
@ -2398,11 +2398,13 @@ const char *debug_glerror(GLenum error) {
|
||||
}
|
||||
}
|
||||
|
||||
const char *debug_d3dbasis(WINED3DBASISTYPE basis) {
|
||||
switch(basis) {
|
||||
case WINED3DBASIS_BEZIER: return "WINED3DBASIS_BEZIER";
|
||||
case WINED3DBASIS_BSPLINE: return "WINED3DBASIS_BSPLINE";
|
||||
case WINED3DBASIS_INTERPOLATE: return "WINED3DBASIS_INTERPOLATE";
|
||||
const char *debug_d3dbasis(enum wined3d_basis_type basis)
|
||||
{
|
||||
switch (basis)
|
||||
{
|
||||
case WINED3D_BASIS_BEZIER: return "WINED3D_BASIS_BEZIER";
|
||||
case WINED3D_BASIS_BSPLINE: return "WINED3D_BASIS_BSPLINE";
|
||||
case WINED3D_BASIS_INTERPOLATE: return "WINED3D_BASIS_INTERPOLATE";
|
||||
default: return "unrecognized";
|
||||
}
|
||||
}
|
||||
|
@ -2508,7 +2508,7 @@ const char *debug_d3dtstype(enum wined3d_transform_state tstype) DECLSPEC_HIDDEN
|
||||
const char *debug_d3dpool(WINED3DPOOL pool) DECLSPEC_HIDDEN;
|
||||
const char *debug_fbostatus(GLenum status) DECLSPEC_HIDDEN;
|
||||
const char *debug_glerror(GLenum error) DECLSPEC_HIDDEN;
|
||||
const char *debug_d3dbasis(WINED3DBASISTYPE basis) DECLSPEC_HIDDEN;
|
||||
const char *debug_d3dbasis(enum wined3d_basis_type basis) DECLSPEC_HIDDEN;
|
||||
const char *debug_d3ddegree(enum wined3d_degree_type order) DECLSPEC_HIDDEN;
|
||||
const char *debug_d3dtop(enum wined3d_texture_op d3dtop) DECLSPEC_HIDDEN;
|
||||
void dump_color_fixup_desc(struct color_fixup_desc fixup) DECLSPEC_HIDDEN;
|
||||
|
@ -641,13 +641,12 @@ enum wined3d_transform_state
|
||||
|
||||
#define WINED3D_TS_WORLD_MATRIX(index) (enum wined3d_transform_state)(index + 256)
|
||||
|
||||
typedef enum _WINED3DBASISTYPE
|
||||
enum wined3d_basis_type
|
||||
{
|
||||
WINED3DBASIS_BEZIER = 0,
|
||||
WINED3DBASIS_BSPLINE = 1,
|
||||
WINED3DBASIS_INTERPOLATE = 2,
|
||||
WINED3DBASIS_FORCE_DWORD = 0x7fffffff
|
||||
} WINED3DBASISTYPE;
|
||||
WINED3D_BASIS_BEZIER = 0,
|
||||
WINED3D_BASIS_BSPLINE = 1,
|
||||
WINED3D_BASIS_INTERPOLATE = 2,
|
||||
};
|
||||
|
||||
typedef enum _WINED3DCUBEMAP_FACES
|
||||
{
|
||||
@ -1583,7 +1582,7 @@ struct wined3d_rect_patch_info
|
||||
UINT width;
|
||||
UINT height;
|
||||
UINT stride;
|
||||
WINED3DBASISTYPE basis;
|
||||
enum wined3d_basis_type basis;
|
||||
enum wined3d_degree_type degree;
|
||||
};
|
||||
|
||||
@ -1591,7 +1590,7 @@ struct wined3d_tri_patch_info
|
||||
{
|
||||
UINT start_vertex_offset;
|
||||
UINT vertex_count;
|
||||
WINED3DBASISTYPE basis;
|
||||
enum wined3d_basis_type basis;
|
||||
enum wined3d_degree_type degree;
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user