fixing opengl

This commit is contained in:
2025-04-08 16:53:23 +02:00
parent c1411bba5d
commit 221d1a82bf
7 changed files with 66 additions and 14 deletions

View File

@@ -39,6 +39,7 @@ void TestImageCreation()
* This test may crash some Nouveau NVK drivers (wtf ???).
* It seems to be comming exclusively from 3D read-only images
*/
#ifndef VULKAN_ENABLED
{
PulseImageCreateInfo image_create_info = { 0 };
image_create_info.type = PULSE_IMAGE_TYPE_3D;
@@ -51,7 +52,7 @@ void TestImageCreation()
TEST_ASSERT_NOT_EQUAL_MESSAGE(image, PULSE_NULL_HANDLE, PulseVerbaliseErrorType(PulseGetLastErrorType()));
PulseDestroyImage(device, image);
}
#endif
{
PulseImageCreateInfo image_create_info = { 0 };