Trunk now compiles again.

This commit is contained in:
the_fiddler 2007-09-02 00:53:24 +00:00
parent 017a345927
commit 2f09c15672
6 changed files with 8 additions and 8 deletions

View file

@ -126,11 +126,11 @@ namespace Bind
break;
case GeneratorMode.Glu:
Generator = new Bind.Glu.Generator();
break;
case GeneratorMode.Glx:
Generator = new Bind.Glx.Generator();
break;
case GeneratorMode.GL3:

View file

@ -107,7 +107,7 @@ namespace Examples.Tutorial
0.0, 1.0, 0.0
);
GL.Rotatef(angle, 0.0f, 1.0f, 0.0f);
GL.Rotate(angle, 0.0f, 1.0f, 0.0f);
angle += 0.5f;
}

View file

@ -150,8 +150,8 @@ namespace Examples.Tutorial
foreach (DisplayList d in lists)
{
GL.LoadIdentity();
GL.Rotated(angle, 0.0, 0.0, 1.0);
GL.Translated(5.0, 0.0, 0.0);
GL.Rotate(angle, 0.0, 0.0, 1.0);
GL.Translate(5.0, 0.0, 0.0);
d.Render();
angle += 360 / lists.Count;

View file

@ -96,7 +96,7 @@ namespace Examples.WinForms
0.0, 0.0, 0.0,
0.0, 1.0, 0.0
);
GL.Rotatef(angle, 0.0f, 1.0f, 0.0f);
GL.Rotate(angle, 0.0f, 1.0f, 0.0f);
angle += 0.5f;
GL.Clear(GL.Enums.ClearBufferMask.COLOR_BUFFER_BIT | GL.Enums.ClearBufferMask.DEPTH_BUFFER_BIT);

View file

@ -267,7 +267,7 @@ namespace OpenTK.Platform.X11
[DllImport(Library, EntryPoint = "glXCreateContext")]
public static extern IntPtr CreateContext(IntPtr dpy, IntPtr vis, IntPtr shareList, bool direct);
public static IntPtr CreateContext(IntPtr dpy, VisualInfo vis, IntPtr shareList, bool direct)
public static IntPtr CreateContext(IntPtr dpy, XVisualInfo vis, IntPtr shareList, bool direct)
{
GCHandle h0 = GCHandle.Alloc(vis, GCHandleType.Pinned);

View file

@ -41,7 +41,7 @@ namespace OpenTK.Platform.X11
public IntPtr TopLevelWindow { get { return topLevelWindow; } set { topLevelWindow = value; } }
public IntPtr Display { get { return display; } set { display = value; } }
public int Screen { get { return screen; } set { screen = value; } }
public VisualInfo VisualInfo { get { return visinfo; } set { visinfo = value; } }
public XVisualInfo VisualInfo { get { return visinfo; } set { visinfo = value; } }
public IntPtr Handle { get { return handle; } set { handle = value; } }
public IWindowInfo Parent { get { return parent; } set { parent = value as WindowInfo; } }