>A dri_context can be converted to a st_context.
Sorry for the typo. It should be "A dri_context can't be converted to a
st_context".
Axel Davy
___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mes
+ void *loaderPrivate)
+{
+ __DRIimage *img;
+ struct gl_context *ctx = ((struct st_context *)dri_context(context))->ctx;
+ struct gl_texture_object *obj;
+ struct pipe_resource *tex;
+ GLuint face = 0;
This part doesn't work.
A dri_context can be converted to a
From: Christopher James Halse Rogers
---
src/gallium/state_trackers/dri/drm/dri2.c | 72 ++-
1 file changed, 71 insertions(+), 1 deletion(-)
diff --git a/src/gallium/state_trackers/dri/drm/dri2.c
b/src/gallium/state_trackers/dri/drm/dri2.c
index 868cd25..bc6ca0a 100