- testForALCError(device);
-
-/* alut testing mechanism */
- context = alcGetCurrentContext();
- if (context == NULL)
- {
- printf("Error: no current context\n");
- }
- else
- {
- if (alGetError () != AL_NO_ERROR)
- {
- printf("Alert: AL error on entry\n");
- }
- else
- {
- if (alcGetError (alcGetContextsDevice (context)) != ALC_NO_ERROR)
- {
- printf("Alert: ALC error on entry\n");
- }
- }
- }
-/* end of alut test */
-