mirror of
https://github.com/Kbz-8/Pulse.git
synced 2026-01-11 23:43:34 +00:00
adding D3D11 base, working on Vulkan backend
This commit is contained in:
15
Tests/LoadingPulse/main.c
git.filemode.normal_file
15
Tests/LoadingPulse/main.c
git.filemode.normal_file
@@ -0,0 +1,15 @@
|
||||
#include <Pulse.h>
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
int main(void)
|
||||
{
|
||||
PulseDevice device = PulseCreateDevice(PULSE_BACKEND_ANY, PULSE_SHADER_FORMAT_SPIRV_BIT, PULSE_NO_DEBUG);
|
||||
if(device == PULSE_NULL_HANDLE)
|
||||
{
|
||||
fprintf(stderr, "Error while loading Pulse: %s", PulseVerbaliseErrorType(PulseGetLastErrorType()));
|
||||
return 1;
|
||||
}
|
||||
PulseDestroyDevice(device);
|
||||
return 0;
|
||||
}
|
||||
Reference in New Issue
Block a user