From 7db720f10f38c48cc5612991f825314a1ffddcac Mon Sep 17 00:00:00 2001 From: UnknownShadow200 Date: Wed, 10 Nov 2021 17:39:20 +1100 Subject: [PATCH] Change webclient hosting documentation to clarify scope a bit better --- doc/hosting-flask.md | 4 +++- doc/hosting-webclient.md | 2 +- src/Graphics_GL1.c | 5 +++++ 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/doc/hosting-flask.md b/doc/hosting-flask.md index cf3faaa90..3a5bdadef 100644 --- a/doc/hosting-flask.md +++ b/doc/hosting-flask.md @@ -1,4 +1,6 @@ -The website will be structured like so: +The page provides a complete example for how to integrate the webclient into a simple website + +The example website will be structured like so: ``` websrv.py diff --git a/doc/hosting-webclient.md b/doc/hosting-webclient.md index 2ab81505f..a6bd1791a 100644 --- a/doc/hosting-webclient.md +++ b/doc/hosting-webclient.md @@ -73,7 +73,7 @@ You are required to have this HTML code somewhere in the page: ### Complete example -The links below show implementing a simple website that hosts the web client +The links below show how to integrate the webclient into a simple website * [Flask (python webserver)](hosting-flask.md) ### iOS / Android support diff --git a/src/Graphics_GL1.c b/src/Graphics_GL1.c index 8e8c627b3..e604a9c98 100644 --- a/src/Graphics_GL1.c +++ b/src/Graphics_GL1.c @@ -519,6 +519,11 @@ static void APIENTRY fake_vertexPointer(GLint size, GLenum type, GLsizei stride, } static void OpenGL11Fallback(void) { + Window_ShowDialog("Performance warning", + "Your system only supports only OpenGL 1.1\n" \ + "This is usually caused by graphics drivers not being installed\n\n" \ + "As such you will likely experience very poor performance"); + _glBindBuffer = fake_bindBuffer; _glDeleteBuffers = fake_deleteBuffers; _glGenBuffers = fake_genBuffers; _glBufferData = fake_bufferData; _glBufferSubData = fake_bufferSubData;