T10_GLSL_Cube now really exits when OpenGL 2.0 support is not available.

The ExampleLauncer example TextBox is now docked inside the parent form.
Bumped version numbers.
This commit is contained in:
the_fiddler 2007-09-02 08:25:10 +00:00
parent 7403987e5c
commit 1947662281
4 changed files with 6 additions and 7 deletions

View file

@ -34,9 +34,7 @@
//
// listBox1
//
this.listBox1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.listBox1.Dock = System.Windows.Forms.DockStyle.Fill;
this.listBox1.FormattingEnabled = true;
this.listBox1.Location = new System.Drawing.Point(0, 0);
this.listBox1.Margin = new System.Windows.Forms.Padding(1);

View file

@ -29,5 +29,5 @@ using System.Runtime.InteropServices;
// Build Number
// Revision
//
[assembly: AssemblyVersion("0.3.10.0")]
[assembly: AssemblyFileVersion("0.3.10.0")]
[assembly: AssemblyVersion("0.3.11.3")]
[assembly: AssemblyFileVersion("0.3.11.3")]

View file

@ -73,6 +73,7 @@ namespace Examples.Tutorial
MessageBox.Show("You need at least OpenGL 2.0 to run this example. Aborting.", "GLSL not supported",
MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
this.Exit();
return;
}
GL.ClearColor(0.1f, 0.1f, 0.5f, 0.0f);

View file

@ -31,5 +31,5 @@ using System.Runtime.InteropServices;
//
// You can specify all the values or you can default the Revision and Build Numbers
// by using the '*' as shown below:
[assembly: AssemblyVersion("0.3.11.1")]
[assembly: AssemblyFileVersion("0.3.11.1")]
[assembly: AssemblyVersion("0.3.11.3")]
[assembly: AssemblyFileVersion("0.3.11.3")]