From bbcb4c8beab5de681f2f19ba30160e6b5ead3a32 Mon Sep 17 00:00:00 2001 From: Tomaka17 Date: Wed, 29 Oct 2014 19:00:32 +0100 Subject: Remove call to glFlush() before swap_buffers We may not want to call `swap_buffers` in the same thread as the current thread, so we're moving the call to `glFlush` out of the scope of glutin. --- README.md | 1 + 1 file changed, 1 insertion(+) (limited to 'README.md') diff --git a/README.md b/README.md index 20c7495..55de3fc 100644 --- a/README.md +++ b/README.md @@ -60,6 +60,7 @@ fn main() { ### Win32 + - You must call `glFlush` before `swap_buffers`, or else on Windows 8 nothing will be visible on the window - Pixel formats are not implemented - If you don't have MinGW installed, you will need to provide `libgdi32.a` and `libopengl32.a` ; you can put them in `C:\Users\you\.rust` - If you don't have `make` in your PATH, you can pass `--no-default-features --features "window"` when compiling ([see also](http://crates.io/manifest.html#the-[features]-section)) -- cgit v1.2.3