revert D3D exception handling (my changes broke it)
This commit is contained in:
@@ -1,24 +1,8 @@
|
||||
#ifndef RAGEDISPLAY_D3D_H
|
||||
#define RAGEDISPLAY_D3D_H
|
||||
|
||||
class RageException_D3DNotInstalled: public exception
|
||||
{
|
||||
const char *what() { return
|
||||
"DirectX 8.1 or greater is not installed. You can download it from:\n"
|
||||
"http://search.microsoft.com/gomsuri.asp?n=1&c=rp_BestBets&siteid=us&target=http://www.microsoft.com/downloads/details.aspx?FamilyID=a19bed22-0b25-4e5d-a584-6389d8a3dad0&displaylang=en"; }
|
||||
};
|
||||
class RageException_D3DNoAcceleration: public exception
|
||||
{
|
||||
const char *what() { return
|
||||
"Your system is reporting that Direct3D hardware acceleration is not available. "
|
||||
"Please obtain an updated driver from your video card manufacturer.\n\n"; }
|
||||
};
|
||||
class RageException_D3DNoPalettedAlpha: public exception
|
||||
{
|
||||
const char *what() { return
|
||||
"Your video card doesn'thardware acceleration is not available. "
|
||||
"Please obtain an updated driver from your video card manufacturer.\n\n"; }
|
||||
};
|
||||
class RageException_D3DNotInstalled: public exception { };
|
||||
class RageException_D3DNoAcceleration: public exception { };
|
||||
|
||||
|
||||
class RageDisplay_D3D: public RageDisplay
|
||||
|
||||
Reference in New Issue
Block a user