2009-02-22 10:43:35 +00:00
|
|
|
using System;
|
|
|
|
using System.Collections.Generic;
|
|
|
|
using System.Text;
|
|
|
|
|
|
|
|
namespace OpenTK.Platform.MacOS
|
|
|
|
{
|
|
|
|
using Graphics;
|
|
|
|
|
2010-11-02 19:49:24 +00:00
|
|
|
class MacOSGraphicsMode : IGraphicsMode
|
2009-02-22 10:43:35 +00:00
|
|
|
{
|
|
|
|
#region IGraphicsMode Members
|
|
|
|
|
|
|
|
public GraphicsMode SelectGraphicsMode(ColorFormat color, int depth, int stencil, int samples, ColorFormat accum, int buffers, bool stereo)
|
|
|
|
{
|
2010-11-02 19:49:24 +00:00
|
|
|
GraphicsMode gfx = new GraphicsMode((IntPtr)1, color, depth, stencil, samples, accum, buffers, stereo);
|
|
|
|
|
2009-02-22 10:43:35 +00:00
|
|
|
System.Diagnostics.Debug.Print("Created dummy graphics mode.");
|
2010-11-02 19:49:24 +00:00
|
|
|
|
2009-02-22 10:43:35 +00:00
|
|
|
return gfx;
|
|
|
|
}
|
2010-11-02 19:49:24 +00:00
|
|
|
|
2009-02-22 10:43:35 +00:00
|
|
|
#endregion
|
|
|
|
}
|
|
|
|
}
|