Skip to content

Commit

Permalink
[Examples] Move UTF8 sample to Test folder
Browse files Browse the repository at this point in the history
  • Loading branch information
thefiddler committed Jan 16, 2014
1 parent 51e99fe commit 8cb3538
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Source/Examples/OpenTK.Examples.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@
<SubType>Code</SubType>
</Compile>
<Compile Include="OpenGL\1.x\TextRendering.cs" />
<Compile Include="OpenGL\4.x\ShaderSourceWithJapaneseCommentTest.cs" />
<Compile Include="OpenTK\Test\TestShaderUtf8Support.cs" />
<Compile Include="SamplesTreeViewSorter.cs">
<SubType>Code</SubType>
</Compile>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@

namespace Examples.Tutorial
{
[Example("Shader Source With Japanese Comment Test", ExampleCategory.OpenGL, "4.x")]
public class ShaderSourceWithJapaneseCommentTest : GameWindow
[Example("Shader UTF8 support", ExampleCategory.OpenTK, "OpenGL")]
public class TestShaderUtf8Support : GameWindow
{
string vertexShaderSource = @"
#version 130
Expand Down Expand Up @@ -91,10 +91,10 @@ void main(void)

Matrix4 projectionMatrix, modelviewMatrix;

public ShaderSourceWithJapaneseCommentTest()
public TestShaderUtf8Support()
: base(640, 480,
new GraphicsMode(), "OpenGL 3 Example", 0,
DisplayDevice.Default, 4, 2,
DisplayDevice.Default, 3, 0,
GraphicsContextFlags.ForwardCompatible | GraphicsContextFlags.Debug)
{ }

Expand Down Expand Up @@ -227,7 +227,7 @@ protected override void OnRenderFrame(FrameEventArgs e)
[STAThread]
public static void Main()
{
using (ShaderSourceWithJapaneseCommentTest example = new ShaderSourceWithJapaneseCommentTest())
using (TestShaderUtf8Support example = new TestShaderUtf8Support())
{
Utilities.SetWindowTitle(example);
example.Run(30);
Expand Down

0 comments on commit 8cb3538

Please sign in to comment.