示例#1
0
 public GraphicsDevice CreateGraphicsDevice(SurfaceSettings settings, IRenderTarget renderTarget)
 {
     renderTarget.Activate();
     Functions.Init();
     return(new GLGraphicsDevice(settings, renderTarget));
 }