diff options
author | b1indy <b1indy@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2007-12-03 12:08:25 +0000 |
---|---|---|
committer | b1indy <b1indy@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2007-12-03 12:08:25 +0000 |
commit | e4c285f12b6571773b6ff6b5c03b9f948116c7e7 (patch) | |
tree | e2c0882ac346a8b37253a67c8ba90c1672577ac4 /Game/Code | |
parent | e72155505b5e98eb751fe8de98211530dc0faa85 (diff) | |
download | usdx-e4c285f12b6571773b6ff6b5c03b9f948116c7e7.tar.gz usdx-e4c285f12b6571773b6ff6b5c03b9f948116c7e7.tar.xz usdx-e4c285f12b6571773b6ff6b5c03b9f948116c7e7.zip |
Initialize SDL_GL_ALPHA_SIZE for the OpenGL Surface
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@659 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to '')
-rw-r--r-- | Game/Code/Classes/UGraphic.pas | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Game/Code/Classes/UGraphic.pas b/Game/Code/Classes/UGraphic.pas index 02c06002..c3b042ea 100644 --- a/Game/Code/Classes/UGraphic.pas +++ b/Game/Code/Classes/UGraphic.pas @@ -521,6 +521,7 @@ begin SDL_GL_SetAttribute(SDL_GL_RED_SIZE, 5); SDL_GL_SetAttribute(SDL_GL_GREEN_SIZE, 5); SDL_GL_SetAttribute(SDL_GL_BLUE_SIZE, 5); + SDL_GL_SetAttribute(SDL_GL_ALPHA_SIZE, 5); SDL_GL_SetAttribute(SDL_GL_DEPTH_SIZE, 16); SDL_GL_SetAttribute(SDL_GL_DOUBLEBUFFER, 1); |