comparison Samples/Sdl/BasicScene.cpp @ 607:f4b37a991dac

using glew to build on Windows
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 29 Apr 2019 16:41:40 +0200
parents 03c4b998fcd0
children 0c4c0693b97c
comparison
equal deleted inserted replaced
606:d9c0a66304cb 607:f4b37a991dac
346 SDL_Delay(1); 346 SDL_Delay(1);
347 } 347 }
348 } 348 }
349 349
350 350
351 int main() 351
352
353 /**
354 * IMPORTANT: The full arguments to "main()" are needed for SDL on
355 * Windows. Otherwise, one gets the linking error "undefined reference
356 * to `SDL_main'". https://wiki.libsdl.org/FAQWindows
357 **/
358 int main(int argc, char* argv[])
352 { 359 {
353 Orthanc::Logging::Initialize(); 360 Orthanc::Logging::Initialize();
354 OrthancStone::SdlWindow::GlobalInitialize(); 361 OrthancStone::SdlWindow::GlobalInitialize();
355 362
356 try 363 try