DemoGL::Reference::Error codes

Error codes.

Below are all the error codes as defined inside DemoGL. These are given here to help debugging your application. DemoGL will sometimes report a specific error code (a number) and without the sourcecode of DemoGL it's hard to determine what these numbers mean. The list below helps with determining what a certain errorcode means. In the DemoGL sourcecode, these errorcodes are defined in dgl_dllmain.h.

Error code Description
2 The loading action of a DGL_FTYPE_BMPFILE texture failed. (File is probably missing).
3 The DGL_FTYPE_BMPFILE texture had an invalid header.
4 The DGL_FTYPE_BMPFILE texture had an invalid colortable.
5 The DGL_FTYPE_BMPFILE texture was a BMP compressed (which is not supported) file.
6 The DGL_FTYPE_BMPFILE texture had an invalid size; it didn't match with the size specified in the BMP header.
11 The loading action of a DGL_FTYPE_TGAFILE texture failed. (File is probably missing).
12 The DGL_FTYPE_TGAFILE texture was empty.
13 The DGL_FTYPE_TGAFILE texture file had an illegal format.
12 The DGL_FTYPE_TGAFILE texture had an illegal size: it didn't match with the size specified in the TGA header.
20 The loading action of a DGL_FTYPE_JPGFILE texture failed. (File is probably missing).
21 The DGL_FTYPE_JPGFILE texture couldn't be converted from compressed JPEG format to RGBA format. The JPEG compressed texture is compressed with a format unknown to the libjpeg library used in DemoGL.
30 The loading action of a DGL_FTYPE_DDSFILE texture failed. (File is probably missing).
31 The DGL_FTYPE_DDSFILE texture file had an illegal format (not DXT1, DXT3 or DXT5 single texture).
32 The DGL_FTYPE_DDSFILE texture file was not a DDS file. A DDS file has 'DDS ' in the first 4 bytes.

Last changed on 28-may-2001

©1999-2001 Solutions Design