Remove comments

This commit is contained in:
Hajime Hoshi 2013-11-27 01:46:53 +09:00
parent 991d0a975b
commit f76171c79d

View File

@ -9,10 +9,8 @@ import (
"github.com/hajimehoshi/go-ebiten/graphics"
"github.com/hajimehoshi/go-ebiten/graphics/matrix"
"github.com/hajimehoshi/go-ebiten/graphics/opengl/offscreen"
// "github.com/hajimehoshi/go-ebiten/graphics/opengl/shader"
"github.com/hajimehoshi/go-ebiten/graphics/opengl/texture"
grendertarget "github.com/hajimehoshi/go-ebiten/graphics/rendertarget"
// gtexture "github.com/hajimehoshi/go-ebiten/graphics/texture"
"image"
"math"
)
@ -23,8 +21,6 @@ type Context struct {
screenHeight int
screenScale int
ids *ids
//mainFramebufferTexture *grendertarget.RenderTarget
//projectionMatrix [16]float32
offscreen *offscreen.Offscreen
}
@ -96,15 +92,10 @@ func (context *Context) SetOffscreen(renderTargetId graphics.RenderTargetId) {
}
func (context *Context) setOffscreen(rt *grendertarget.RenderTarget) {
/*C.glFlush()
rt.SetAsOffscreen(context.offscreen)
context.projectionMatrix = setter.projectionMatrix*/
context.offscreen.Set(rt)
}
func (context *Context) setMainFramebufferOffscreen() {
//context.setOffscreen(context.mainFramebufferTexture)
context.offscreen.SetMainFramebuffer()
}