X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Fyoink;a=blobdiff_plain;f=src%2FMoof%2FVideo.cc;h=8610a7b8be499e1106d741433d98f7beab9cb513;hp=1ed24c75fee3e3e877cea604eab0261c9028b0cf;hb=542e50a284c7f5b144a5c97c17f6d89b2af0175c;hpb=b887538a8ccc1c904f6aa24f0f6dcc23e0cc2f72 diff --git a/src/Moof/Video.cc b/src/Moof/Video.cc index 1ed24c7..8610a7b 100644 --- a/src/Moof/Video.cc +++ b/src/Moof/Video.cc @@ -138,7 +138,7 @@ void Video::setVideoMode(const long mode[3]) logInfo("video context recreated"); #endif } - else throw Exception(SDL_GetError()); + else throw Exception(Exception::SDL_ERROR); } }