]> git.mxchange.org Git - flightgear.git/blobdiff - tests/alcinfo.cxx
Launcher shows polygon/polyline data
[flightgear.git] / tests / alcinfo.cxx
index 85d2a27ecdcac1f6eb15c720b5800780d55de86e..e567d73cd0b4ed129e5c46926677c21b5d68f1d0 100644 (file)
@@ -151,30 +151,7 @@ int main(int argc, char **argv)
 
    s = (char *)alGetString(AL_EXTENSIONS);
    printExtensions ("OpenAL extensions", ' ', s);
-   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 */
+   testForALCError(device); 
    
    if (alcMakeContextCurrent(NULL) == 0)
       printf("alcMakeContextCurrent failed.\n");