소스 검색

standard application object

leonsal 8 년 전
부모
커밋
6c144b9fac
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      util/application/application.go

+ 2 - 2
util/application/application.go

@@ -22,7 +22,7 @@ import (
 	"github.com/g3n/engine/window"
 )
 
-// Application is a basic standard application object which can be used as a base for G3N applications.
+// Application is a standard application object which can be used as a base for G3N applications.
 // It creates a Window, OpenGL state, default cameras, default scene and Gui and has a method to run the render loop.
 type Application struct {
 	core.Dispatcher                         // Embedded event dispatcher
@@ -396,7 +396,7 @@ func (app *Application) Run() error {
 		if err != nil {
 			return err
 		}
-		app.log.Info("Started writing CPU profile to:%s", app.cpuProfile)
+		app.log.Info("Started writing CPU profile to:%s", *app.cpuProfile)
 		defer pprof.StopCPUProfile()
 	}