Преглед на файлове

gallium: Use stricter types.

VC++ won't silently convert a pointer to a function with typed pointer
arguments to one with void pointer arguments.
tags/mesa_20090313
José Fonseca преди 17 години
родител
ревизия
8902ce06e8
променени са 1 файла, в които са добавени 13 реда и са изтрити 13 реда
  1. 13
    13
      src/gallium/auxiliary/cso_cache/cso_cache.h

+ 13
- 13
src/gallium/auxiliary/cso_cache/cso_cache.h Целия файл

@@ -88,44 +88,44 @@ struct cso_cache;

struct cso_blend {
struct pipe_blend_state state;
void *data;
void (*delete_state)(void *, void *);
void *context;
void *data;
void (*delete_state)(struct pipe_context *, void *);
struct pipe_context *context;
};

struct cso_depth_stencil_alpha {
struct pipe_depth_stencil_alpha_state state;
void *data;
void (*delete_state)(void *, void *);
void *context;
void (*delete_state)(struct pipe_context *, void *);
struct pipe_context *context;
};

struct cso_rasterizer {
struct pipe_rasterizer_state state;
void *data;
void (*delete_state)(void *, void *);
void *context;
void (*delete_state)(struct pipe_context *, void *);
struct pipe_context *context;
};

struct cso_fragment_shader {
struct pipe_shader_state state;
void *data;
void (*delete_state)(void *, void *);
void *context;
void (*delete_state)(struct pipe_context *, void *);
struct pipe_context *context;
};

struct cso_vertex_shader {
struct pipe_shader_state state;
void *data;
void (*delete_state)(void *, void *);
void *context;
void (*delete_state)(struct pipe_context *, void *);
struct pipe_context *context;
};

struct cso_sampler {
struct pipe_sampler_state state;
void *data;
void (*delete_state)(void *, void *);
void *context;
void (*delete_state)(struct pipe_context *, void *);
struct pipe_context *context;
};



Loading…
Отказ
Запис