diff options
| author | Dana Olson | 2014-08-25 02:54:10 -0400 |
|---|---|---|
| committer | Dana Olson | 2014-08-25 02:54:38 -0400 |
| commit | dbae857b293231882307c52217e9569a17da0f23 (patch) | |
| tree | e238900113aa99aa8892752f644ff29348b89829 /platform/x11/context_gl_x11.cpp | |
| parent | 89fa70706f9166765c3ac3f799225a467800f065 (diff) | |
| download | godot-dbae857b293231882307c52217e9569a17da0f23.tar.gz godot-dbae857b293231882307c52217e9569a17da0f23.tar.zst godot-dbae857b293231882307c52217e9569a17da0f23.zip | |
Diffstat (limited to 'platform/x11/context_gl_x11.cpp')
| -rw-r--r-- | platform/x11/context_gl_x11.cpp | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/platform/x11/context_gl_x11.cpp b/platform/x11/context_gl_x11.cpp index b56b54822..38e3479e5 100644 --- a/platform/x11/context_gl_x11.cpp +++ b/platform/x11/context_gl_x11.cpp @@ -129,17 +129,6 @@ Error ContextGL_X11::initialize() { } //}; - if (!OS::get_singleton()->get_video_mode().resizable) { - XSizeHints *xsh; - xsh = XAllocSizeHints(); - xsh->flags = PMinSize | PMaxSize; - xsh->min_width = OS::get_singleton()->get_video_mode().width; - xsh->max_width = OS::get_singleton()->get_video_mode().width; - xsh->min_height = OS::get_singleton()->get_video_mode().height; - xsh->max_height = OS::get_singleton()->get_video_mode().height; - XSetWMNormalHints(x11_display, x11_window, xsh); - } - if (!opengl_3_context) { //oldstyle context: |
