Merge in changes from activegs for x build

This commit is contained in:
David Schmidt 2010-05-08 14:06:51 +00:00
parent d272682f48
commit ce80e6ebca
2 changed files with 16 additions and 2 deletions

View File

@ -179,5 +179,3 @@ int x_calc_ratio(float ratiox,float ratioy)
{
return 0; // not stretched
}

View File

@ -1345,3 +1345,19 @@ x_full_screen(int do_full)
{
return;
}
// OG Adding release
void x_release_kimage(Kimage* kimage_ptr)
{
if (kimage_ptr->dev_handle == (void*)-1)
{
free(kimage_ptr->data_ptr);
kimage_ptr->data_ptr = NULL;
}
}
// OG Addding ratio
int x_calc_ratio(float x,float y)
{
return 1;
}