diff options
author | tobigun <tobigun@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2008-09-12 13:19:17 +0000 |
---|---|---|
committer | tobigun <tobigun@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2008-09-12 13:19:17 +0000 |
commit | 3b5af758a1ffb8c02c3fad2ef0acbc0c241b3de5 (patch) | |
tree | ea37b112534f7ffebe7a1b280cbe282f31ff4f6d /src/base/UGraphic.pas | |
parent | f2d6710b465289c3e0ce7a8b9844b37be6a15974 (diff) | |
download | usdx-3b5af758a1ffb8c02c3fad2ef0acbc0c241b3de5.tar.gz usdx-3b5af758a1ffb8c02c3fad2ef0acbc0c241b3de5.tar.xz usdx-3b5af758a1ffb8c02c3fad2ef0acbc0c241b3de5.zip |
removed resource.inc
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1371 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to '')
-rw-r--r-- | src/base/UGraphic.pas | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/base/UGraphic.pas b/src/base/UGraphic.pas index e8312300..6fa0aa8f 100644 --- a/src/base/UGraphic.pas +++ b/src/base/UGraphic.pas @@ -416,6 +416,9 @@ begin //Load_GL_EXT_framebuffer_object(); end; +const + WINDOW_ICON = 'icons/ultrastardx-icon.png'; + procedure Initialize3D (Title: string); var Icon: PSDL_Surface; @@ -428,7 +431,7 @@ begin end; // load icon image (must be 32x32 for win32) - Icon := LoadImage('WINDOWICON'); + Icon := LoadImage(ResourcesPath + WINDOW_ICON); if (Icon <> nil) then SDL_WM_SetIcon(Icon, 0); |