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:
parent
7403987e5c
commit
1947662281
4 changed files with 6 additions and 7 deletions
4
Source/Examples/ExampleLauncher.Designer.cs
generated
4
Source/Examples/ExampleLauncher.Designer.cs
generated
|
@ -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);
|
||||
|
|
|
@ -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")]
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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")]
|
||||
|
|
Loading…
Reference in a new issue