dpyPriv->Driver->APImajor = *major;
dpyPriv->Driver->APIminor = *minor;
- sprintf(dpyPriv->Driver->Version, "%d.%d", *major, *minor);
+ snprintf(dpyPriv->Driver->Version, sizeof(dpyPriv->Driver->Version),
+ "%d.%d (%s)", *major, *minor, dpyPriv->Driver->Name);
return retVal;
}
void *LibHandle; /**< dlopen handle */
+ const char *Name; /**< name of this driver */
+
int APImajor, APIminor; /**< as returned by eglInitialize() */
- char Version[10]; /**< initialized from APImajor/minor */
+ char Version[1000]; /**< initialized from APImajor/minor, Name */
const char *ClientAPIs;