mirror of
https://github.com/edubart/otclient.git
synced 2025-10-19 14:03:26 +02:00
graphics fixes
* zooming without real FBOs kinda works, but with lower quality * hardware detection for glGenerateMipmaps * possibility to disable bilinear filtering, mipmaps, framebuffers, and realtime mipmap generation in g_graphics * otclient works well using 3D acceleration in VirtualBox again * many fixes regarding FBOs fallback implementation
This commit is contained in:
@@ -39,7 +39,7 @@ X11Window::X11Window()
|
||||
m_xic = 0;
|
||||
m_screen = 0;
|
||||
m_wmDelete = 0;
|
||||
m_size = Size(16,16);
|
||||
m_size = Size(600,480);
|
||||
|
||||
#ifndef OPENGL_ES2
|
||||
m_glxContext = 0;
|
||||
@@ -203,7 +203,6 @@ X11Window::X11Window()
|
||||
|
||||
void X11Window::init()
|
||||
{
|
||||
m_size = Size(200, 200);
|
||||
internalOpenDisplay();
|
||||
internalCheckGL();
|
||||
internalChooseGLVisual();
|
||||
|
Reference in New Issue
Block a user