Parcourir la source

Fix style (again, duh)

Pavel il y a 7 ans
Parent
commit
7697d51266
2 fichiers modifiés avec 2 ajouts et 0 suppressions
  1. 1 0
      util/application/application.go
  2. 1 0
      window/glfw.go

+ 1 - 0
util/application/application.go

@@ -547,6 +547,7 @@ func (app *Application) Quit() {
 
 // OnWindowResize is default handler for window resize events.
 func (app *Application) OnWindowResize() {
+
 	// Get framebuffer size and sets the viewport accordingly
 	width, height := app.win.FramebufferSize()
 	app.gl.Viewport(0, 0, int32(width), int32(height))

+ 1 - 0
window/glfw.go

@@ -301,6 +301,7 @@ func (w *glfwWindow) FramebufferSize() (width int, height int) {
 
 // Scale returns this window's DPI scale factor (FramebufferSize / Size)
 func (w *glfwWindow) Scale() (x float64, y float64) {
+
 	return w.scaleX, w.scaleY
 }