Quantcast
Channel: Community | MonoGame - Latest topics
Viewing all articles
Browse latest Browse all 6821

BeginRun called before Initialize

$
0
0

@Mark_Frankie_Richard wrote:

Building an Android app, tried using GraphicsDevice in the BeginRun method, found it was null.

Did a little debugging, stepped through and found BeginRun is called before Initialize.

According to the XNA documentation, this is wrong. Here is the description of BeginRun:
Game.BeginRun Method

Called after all components are initialized but before the first update in the game loop.

Is this a design difference, an error, or am I doing something wrong?

Posts: 3

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 6821

Trending Articles