Active Topics

 


Reply
Thread Tools
javispedro's Avatar
Posts: 2,355 | Thanked: 5,249 times | Joined on Jan 2009 @ Barcelona
#21
Are you calling SDL_SetVideoMode twice?
 

The Following User Says Thank You to javispedro For This Useful Post:
Posts: 270 | Thanked: 239 times | Joined on Dec 2009 @ Czech Republic
#22
No I donīt where do I put it exactly? This is my init code:
Code:
	  HAA_Init(0);
	  surface = SDL_SetVideoMode(0, 0, 16, SDL_SWSURFACE);
	  actor = HAA_CreateActor(SDL_SWSURFACE, 480, 320, 16);
	  if(actor != NULL) {
		  HAA_SetPosition(actor, 0, 0);
		  HAA_SetScale(actor, 2.0, 2.0);
		  HAA_Show(actor);
}
 
javispedro's Avatar
Posts: 2,355 | Thanked: 5,249 times | Joined on Jan 2009 @ Barcelona
#23
Originally Posted by Figa View Post
No I donīt where do I put it exactly? This is my init code:
No, I'm asking wheter you are calling SDL_SetVideoMode somewhere else in the application (gpSP is calling it to enter fullscreen maybe?). If you do you need to call HAA_SetVideoMode() after that, or the actors will appear in the wrong window.

Last edited by javispedro; 2010-09-13 at 21:10.
 

The Following User Says Thank You to javispedro For This Useful Post:
Posts: 270 | Thanked: 239 times | Joined on Dec 2009 @ Czech Republic
#24
Sorry. No, I donīt. Any idea?
 
javispedro's Avatar
Posts: 2,355 | Thanked: 5,249 times | Joined on Jan 2009 @ Barcelona
#25
I see that you have some urgency.... can you show me the source? It will be faster than trying to think of all possible problems.
 
Posts: 270 | Thanked: 239 times | Joined on Dec 2009 @ Czech Republic
#26
Of corse it is better for both of us. Source is still little messed up and render is harcoded to actor->surface for sure. Thanks in advance.
Attached Files
File Type: zip video.zip (21.0 KB, 104 views)
 
Posts: 270 | Thanked: 239 times | Joined on Dec 2009 @ Czech Republic
#27
Did you look on it please?
 
javispedro's Avatar
Posts: 2,355 | Thanked: 5,249 times | Joined on Jan 2009 @ Barcelona
#28
I actually wanted to try and run it =) You can email me if you wish.
 

The Following User Says Thank You to javispedro For This Useful Post:
Reply


 
Forum Jump


All times are GMT. The time now is 23:21.