mirror of https://github.com/encounter/SDL.git
Fixed doxygen warning and markdown formatting.
Three backticks for blocks are not supported by doxygen.
This commit is contained in:
parent
0fbd904af8
commit
60df813042
|
@ -225,14 +225,13 @@ set this up:
|
|||
source file, such as, "main.cpp".
|
||||
6. click on the Add button. This will close the dialog, add the new file to
|
||||
your project, and open the file in Visual C++'s text editor.
|
||||
7. Copy and paste the following code into the new file (minus the , then save
|
||||
it.
|
||||
7. Copy and paste the following code into the new file, then save it.
|
||||
|
||||
```
|
||||
#include <SDL.h>
|
||||
|
||||
int main(int argc, char **argv)
|
||||
{
|
||||
#include <SDL.h>
|
||||
|
||||
int main(int argc, char **argv)
|
||||
{
|
||||
SDL_DisplayMode mode;
|
||||
SDL_Window * window = NULL;
|
||||
SDL_Renderer * renderer = NULL;
|
||||
|
@ -258,8 +257,7 @@ int main(int argc, char **argv)
|
|||
SDL_RenderClear(renderer);
|
||||
SDL_RenderPresent(renderer);
|
||||
}
|
||||
}
|
||||
```
|
||||
}
|
||||
|
||||
|
||||
#### 6.B. Adding code and assets ####
|
||||
|
|
Loading…
Reference in New Issue