}
-
-
-static void
-init_quad_funcs(struct softpipe_surface *sps)
+void
+softpipe_init_surface_funcs(struct softpipe_surface *sps)
{
switch (sps->surface.format) {
case PIPE_FORMAT_U_Z16:
sps->surface.get_tile = a1r5g5b5_get_tile;
break;
default:
- /*
assert(0);
- */
;
}
}
sps->surface.format = format;
sps->surface.refcount = 1;
- init_quad_funcs(sps);
+ softpipe_init_surface_funcs(sps);
return &sps->surface;
}
GLuint face, GLuint level, GLuint zslice);
+extern void
+softpipe_init_surface_funcs(struct softpipe_surface *sps);
+
+
/** Cast wrapper */
static INLINE struct softpipe_surface *
softpipe_surface(struct pipe_surface *ps)