Supported Browsers Home   
MGL_fadePalette Previous   
MGL_fclose Next   
External Functions Up   

MGL_fatalError

Declare a fatal error and exit gracefully.

Declaration

void MGLAPI MGL_fatalError(
    const char *msg,
    ...)

Prototype In

mgraph.h

Parameters

msg

Message to display ... - Variable argument list to display

 

Description

A fatal internal error has occurred, so we shutdown the graphics systems, display the error message and quit. You should call this function to display your own internal fatal errors. You can use this function like printf(), allowing you to format the results for the output message, so long as the entire message string is less than 1024 bytes in length.

Copyright © 2002 SciTech Software, Inc. Visit our web site at http://www.scitechsoft.com