comment
This commit is contained in:
		
							parent
							
								
									9f204ddb1b
								
							
						
					
					
						commit
						fbfdcdb33f
					
				
					 1 changed files with 2 additions and 1 deletions
				
			
		| 
						 | 
					@ -51,10 +51,11 @@ void drawmandelbrot(SDL_Surface *surface) {
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  /* Update the screen a final time. */
 | 
				
			||||||
 | 
					  SDL_Flip(surface);
 | 
				
			||||||
  if (SDL_MUSTLOCK(surface)) {
 | 
					  if (SDL_MUSTLOCK(surface)) {
 | 
				
			||||||
    SDL_UnlockSurface(surface);
 | 
					    SDL_UnlockSurface(surface);
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
  SDL_Flip(surface);
 | 
					 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
int main(int argc, char *argv[]) {
 | 
					int main(int argc, char *argv[]) {
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue