diff --git a/src/text_editor/text_editor.cpp b/src/text_editor/text_editor.cpp index 1483b6a..0bc9059 100644 --- a/src/text_editor/text_editor.cpp +++ b/src/text_editor/text_editor.cpp @@ -917,11 +917,17 @@ int main(int argc, char **argv) // int w8 = (int)(display_mode->w * 0.8); // int h8 = (int)(display_mode->h * 0.8); - +#if DEBUG_BUILD + int whalf = 1000; + int hhalf = 1000; + int xhalf = 100; + int yhalf = 100; +#else int whalf = (int)(display_mode->w * 0.5) - 10; int hhalf = (int)(display_mode->h) - 120; int xhalf = whalf; int yhalf = 30; +#endif Uint32 window_flags = SDL_WINDOW_OPENGL | SDL_WINDOW_RESIZABLE | SDL_WINDOW_HIGH_PIXEL_DENSITY; SDLWindow = SDL_CreateWindow("Text editor", whalf, hhalf, window_flags);