Quellcode durchsuchen

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 vor 17 Jahren
Ursprung
Commit
8902ce06e8
1 geänderte Dateien mit 13 neuen und 13 gelöschten Zeilen
  1. 13
    13
      src/gallium/auxiliary/cso_cache/cso_cache.h

+ 13
- 13
src/gallium/auxiliary/cso_cache/cso_cache.h Datei anzeigen

@@ -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;
};



Laden…
Abbrechen
Speichern