protected override void OnGLRender(object sender, EventArgs args) { canvas2d.SmoothMode = CanvasSmoothMode.Smooth; canvas2d.StrokeColor = PixelFarm.Drawing.Color.Blue; canvas2d.ClearColorBuffer(); if (!resInit) { //glbmp = LoadTexture(@"..\logo-dark.jpg"); glbmp = LoadTexture(RootDemoPath.Path + @"\logo-dark.jpg"); resInit = true; } canvas2d.DrawSubImage(glbmp, 10, 10, 100, 100, 200, 400); canvas2d.DrawImage(glbmp, 0, 300); canvas2d.DrawImageWithBlurX(glbmp, 0, 600); miniGLControl.SwapBuffers(); }