using System;
using System.Collections;
using SFML;
using SFML.Graphics;
using SFML.Window;
namespace Nereid
{
static class Bug
{
public static RenderWindow App;
static void Main()
{
Styles style = Styles.Close;
App = new RenderWindow(new VideoMode(1024, 768), "SFML.Net OpenGL", style, new WindowSettings(24, 8, 4));
while (App.IsOpened())
{
App.DispatchEvents();
App.Clear();
if (App.Width == 0 && App.Height == 0) { System.Console.WriteLine("Something's not right"); }
App.Draw(Shape.Rectangle(new Vector2(App.Width - 150, App.Height - 150), new Vector2(App.Width, App.Height), Color.Blue));
App.Display();
}
}
}
}