new version check to allow to test for a range of ddx major versions, instead of just one major version

This commit is contained in:
Roland Scheidegger
2005-01-26 18:02:19 +00:00
parent 914746b400
commit 7104ce0a0e
3 changed files with 46 additions and 6 deletions

View File

@@ -58,6 +58,11 @@ extern GLboolean driCheckDriDdxDrmVersions2(const char * driver_name,
const __DRIversion * ddxActual, const __DRIversion * ddxExpected,
const __DRIversion * drmActual, const __DRIversion * drmExpected);
extern GLboolean driCheckDriDdxDrmVersions3(const char * driver_name,
const __DRIversion * driActual, const __DRIversion * driExpected,
const __DRIversion * ddxActual, const __DRIutilversion2 * ddxExpected,
const __DRIversion * drmActual, const __DRIversion * drmExpected);
extern GLboolean driClipRectToFramebuffer( const GLframebuffer *buffer,
GLint *x, GLint *y,
GLsizei *width, GLsizei *height );