tgsi_to_nir: add assertions for max varying slots
[mesa.git] / src / gallium / auxiliary / renderonly / renderonly.h
index 6a89c29e2ef6b0f9bccc77687c02fe79e9626d47..a8d6a686ed483dee332b24324d225779146f5c37 100644 (file)
@@ -85,7 +85,7 @@ renderonly_get_handle(struct renderonly_scanout *scanout,
    if (!scanout)
       return FALSE;
 
-   assert(handle->type == DRM_API_HANDLE_TYPE_KMS);
+   assert(handle->type == WINSYS_HANDLE_TYPE_KMS);
    handle->handle = scanout->handle;
    handle->stride = scanout->stride;