Skip to content

Commit 36cd659

Browse files
committed
Update OpenTK samples now that v0.9 is obsolete
1 parent 121bec3 commit 36cd659

File tree

7 files changed

+15
-19
lines changed

7 files changed

+15
-19
lines changed

GLCube/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
GL Rotating Cube
22
================
33

4+
### This sample is now obsolete. Please use GLCube-1.0.
5+
46
This sample demonstrates simple drawing via OpenTK's GL APIs by
57
drawing a rotating cube.

GLDiagnostics/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
GL Diagnostics
22
==============
33

4+
### This sample is now obsolete. Please use GLDiagnostics-1.0.
5+
46
This sample tests all possible graphics configuration
57
options and outputs valid ones.

GLDiagnostics30/GLDiag30.csproj

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<?xml version="1.0" encoding="utf-8"?>
1+
<?xml version="1.0" encoding="utf-8"?>
22
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
33
<PropertyGroup>
44
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
@@ -41,8 +41,8 @@
4141
</PropertyGroup>
4242
<ItemGroup>
4343
<Reference Include="Mono.Android" />
44-
<Reference Include="OpenTK" />
4544
<Reference Include="mscorlib" />
45+
<Reference Include="OpenTK-1.0" />
4646
<Reference Include="System" />
4747
<Reference Include="System.Core" />
4848
<Reference Include="System.Xml.Linq" />
@@ -76,11 +76,5 @@
7676
<Target Name="AfterBuild">
7777
</Target>
7878
-->
79-
<ItemGroup>
80-
<Folder Include="Resources\drawable-hdpi\" />
81-
<Folder Include="Resources\drawable-ldpi\" />
82-
<Folder Include="Resources\drawable-mdpi\" />
83-
<Folder Include="Resources\drawable-xhdpi\" />
84-
<Folder Include="Resources\drawable-xxhdpi\" />
85-
</ItemGroup>
79+
<ItemGroup />
8680
</Project>

GLTriangle20/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
GL Triangle 20
22
==============
33

4+
### This sample is now obsolete. Please use GLTriangle20-1.0.
5+
46
OpenGL ES 2.0 Demonstration.
57

68
Requirements

GLTriangle30/GLTriangle30.csproj

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<?xml version="1.0" encoding="utf-8"?>
1+
<?xml version="1.0" encoding="utf-8"?>
22
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
33
<PropertyGroup>
44
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
@@ -42,9 +42,9 @@
4242
</PropertyGroup>
4343
<ItemGroup>
4444
<Reference Include="Mono.Android" />
45+
<Reference Include="OpenTK-1.0" />
4546
<Reference Include="System" />
4647
<Reference Include="System.Core" />
47-
<Reference Include="OpenTK" />
4848
</ItemGroup>
4949
<ItemGroup>
5050
<Compile Include="PaintingView.cs" />
@@ -78,11 +78,5 @@
7878
<Target Name="AfterBuild">
7979
</Target>
8080
-->
81-
<ItemGroup>
82-
<Folder Include="Resources\drawable-hdpi\" />
83-
<Folder Include="Resources\drawable-ldpi\" />
84-
<Folder Include="Resources\drawable-mdpi\" />
85-
<Folder Include="Resources\drawable-xhdpi\" />
86-
<Folder Include="Resources\drawable-xxhdpi\" />
87-
</ItemGroup>
81+
<ItemGroup />
8882
</Project>

GLTriangle30/PaintingView.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ void Init ()
4242
// prior to context creation
4343
protected override void CreateFrameBuffer ()
4444
{
45-
GLContextVersion = GLContextVersion.Gles3_0;
45+
ContextRenderingApi = GLVersion.ES3;
4646

4747
// the default GraphicsMode that is set consists of (16, 16, 0, 0, 2, false)
4848
try {

TexturedCube/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
GL Textured Cube
22
================
33

4+
### This sample is now obsolete. Please use TexturedCube-1.0.
5+
46
This sample demonstrates a rotating cube rendered with textures
57
via OpenTK's GL APIs.

0 commit comments

Comments
 (0)