Browse Source

dri: Add dupImage to DRIimageExtension

tags/mesa-7.11-rc1
Benjamin Franzke 15 years ago
parent
commit
5fbbd4c19f
1 changed files with 5 additions and 0 deletions
  1. 5
    0
      include/GL/internal/dri_interface.h

+ 5
- 0
include/GL/internal/dri_interface.h View File

@@ -849,6 +849,11 @@ struct __DRIimageExtensionRec {
void *loaderPrivate);

GLboolean (*queryImage)(__DRIimage *image, int attrib, int *value);

/**
* The new __DRIimage will share the content with the old one, see dup(2).
*/
__DRIimage *(*dupImage)(__DRIimage *image, void *loaderPrivate);
};



Loading…
Cancel
Save