Jump to content

  • Log In with Google      Sign In   
  • Create Account


#Actualfastcall22

Posted 03 December 2012 - 02:45 PM

apply_surface(x, y, sprite, buffer);
SDL_Flip(buffer);
// ...
while ( !done )
{
    // ...
    y = y+1;
    // ...
}


Think of it this way: Does changing the amount of sugar in a cake recipe change the sugar content for all cakes baked with the same recipe? Of course not; the cake needs to be re-baked every time its recipe changes.

#1fastcall22

Posted 03 December 2012 - 02:45 PM

apply_surface(x, y, sprite, buffer);
SDL_Flip(buffer);

.
.
.

while ( !done )
{
    .
    .
    .

    y = y+1;

    .
    .
    .
}


Think of it this way: Does changing the amount of sugar in a cake recipe change the sugar content for all cakes baked with the same recipe? Of course not; the cake needs to be re-baked every time its recipe changes.

PARTNERS