Corrected a few warnings.

This commit is contained in:
the_fiddler 2007-11-06 13:35:40 +00:00
parent adc26c9990
commit d5df9715b7
2 changed files with 4 additions and 4 deletions

View file

@ -199,11 +199,11 @@ namespace OpenTK.Platform.Windows
{ {
if (Wgl.Delegates.wglGetExtensionsStringARB != null) if (Wgl.Delegates.wglGetExtensionsStringARB != null)
{ {
if (extensions == null || reload_ext_extension_strings) if (extensions == null || reload_arb_extension_strings)
{ {
extensions = Wgl.Arb.GetExtensionsString(deviceContext).Split(" ".ToCharArray(), StringSplitOptions.RemoveEmptyEntries); extensions = Wgl.Arb.GetExtensionsString(deviceContext).Split(" ".ToCharArray(), StringSplitOptions.RemoveEmptyEntries);
Array.Sort(extensions); Array.Sort(extensions);
reload_ext_extension_strings = false; reload_arb_extension_strings = false;
} }
return Array.BinarySearch(extensions, ext) != -1; return Array.BinarySearch(extensions, ext) != -1;

View file

@ -31,7 +31,7 @@ namespace OpenTK.Platform.Windows
private DisplayMode mode = new DisplayMode(); private DisplayMode mode = new DisplayMode();
//private WinRawInput driver; //private WinRawInput driver;
private bool fullscreen; //private bool fullscreen;
private bool disposed; private bool disposed;
private bool isExiting; private bool isExiting;
private bool exists; private bool exists;
@ -195,8 +195,8 @@ namespace OpenTK.Platform.Windows
} }
set set
{ {
fullscreen = false;
throw new NotImplementedException(); throw new NotImplementedException();
//fullscreen = false;
} }
} }