diff options
author | Chris Robinson <[email protected]> | 2008-09-12 18:07:12 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2008-09-12 18:07:12 -0700 |
commit | f4ea188ffa8ab38de3b63f494ef41569a3c4b47a (patch) | |
tree | 104cf91d593fb0e52bbd6d06bd3763146e4aef85 /examples/openal-info.c | |
parent | 1266580420ff81323ea3459540c06405eecd6db0 (diff) |
Fix typo to get the proper minor ALC version
Diffstat (limited to 'examples/openal-info.c')
-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); |