diff options
Diffstat (limited to 'examples')
-rw-r--r-- | examples/openal-info.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/openal-info.c b/examples/openal-info.c index 6ca54b51..3096404c 100644 --- a/examples/openal-info.c +++ b/examples/openal-info.c @@ -165,7 +165,7 @@ static void printALCInfo (void) alcGetString(device, ALC_CAPTURE_DEFAULT_DEVICE_SPECIFIER)); alcGetIntegerv(device, ALC_MAJOR_VERSION, 1, &major); - alcGetIntegerv(device, ALC_MAJOR_VERSION, 1, &minor); + alcGetIntegerv(device, ALC_MINOR_VERSION, 1, &minor); checkForErrors(); printf("ALC version: %d.%d\n", (int)major, (int)minor); |