List of all dave driver errorcodes.
Every device stores the errorcode returned by the last function executed for this device. Successfull operations reset this code to D2_OK.
Latest errorcode can be queried by d2_geterror / d2_geterrorstring functions
Errorcodes
D2_OK | success |
D2_NOMEMORY | memory allocation failed |
D2_INVALIDDEVICE | invalid device |
D2_INVALIDCONTEXT | invalid rendering context |
D2_INVALIDBUFFER | invalid renderbuffer context |
D2_HWINUSE | hardware device already in use |
D2_DEVASSIGNED | device already assigned |
D2_DEFCONTEXT | cannot operate on default context |
D2_INVALIDINDEX | index is out of bounds |
D2_ILLEGALMODE | rendermode not supported |
D2_INVALIDWIDTH | width out of legal range |
D2_INVALIDHEIGHT | height out of legal range |
D2_NOVIDEOMEM | illegal framebuffer address |
D2_VALUETOOSMALL | parameter too close to zero |
D2_VALUENEGATIVE | parameter is negative |
D2_VALUETOOBIG | parameter value is too large |
D2_INVALIDENUM | unsupported mode |
D2_NULLPOINTER | source pointer may not be null |
D2_DEVICEBUSY | operation cannot execute while hardware is busy |
D2_DEFBUFFER | cannot operate on default buffer |
D2_NO_DISPLAYLIST | usage of displaylists a mandatory in d2_low_localmemmode |
D2_NOT_ENOUGH_DLISTBLOCKS | amount of displaylist blocks as specified in d2_lowlocalmemmode is not sufficient |