Updated the C and .Net bindings according to the previous modifications

This commit is contained in:
Laurent Gomila 2011-04-04 23:37:20 +02:00
parent 10ebd94ee7
commit 6676d77ea1
10 changed files with 11 additions and 43 deletions

View file

@ -13,10 +13,8 @@ namespace opengl
/// </summary>
static void Main()
{
string path = System.IO.Directory.GetCurrentDirectory();
// Create main window
RenderWindow window = new RenderWindow(new VideoMode(800, 600), "SFML.Net OpenGL");
RenderWindow window = new RenderWindow(new VideoMode(800, 600), "SFML.Net OpenGL", Styles.Default, new ContextSettings(32, 0));
// Setup event handlers
window.Closed += new EventHandler(OnClosed);