summaryrefslogtreecommitdiffstats
path: root/Tests/FindOpenAL/Test/main.cxx
blob: bb45faf5b99b3cf14eefc6cfec63bc33b66c798c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#include <AL/al.h>
#include <AL/alc.h>
#include <stdio.h>

int main()
{
  /* Reference an AL symbol without requiring a context at runtime.  */
  printf("&alGetString = %p\n", &alGetString);

  /* Reference an ALC symbol without requiring a context at runtime.  */
  printf("&alcGetString = %p\n", &alcGetString);
  return 0;
}