From f4ea188ffa8ab38de3b63f494ef41569a3c4b47a Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Fri, 12 Sep 2008 18:07:12 -0700 Subject: Fix typo to get the proper minor ALC version --- examples/openal-info.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples') 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); -- cgit v1.2.3