• R/O
  • HTTP
  • SSH
  • HTTPS

sdl2referencejp: Commit

SDL2.0の日本語リファレンスマニュアル


Commit MetaInfo

Revision185b8154403239018b1659e9116b68901228c70b (tree)
Time2019-12-02 21:23:30
Authormaruhiro <maruhiro@brid...>
Commitermaruhiro

Log Message

SDL_SetTextureColorMod サンプルコードを修正 https://wiki.libsdl.org/SDL_SetTextureColorMod?action=diff&rev1=12&rev2=13

Change Summary

Incremental Difference

--- a/SDL_SetTextureColorMod.html
+++ b/SDL_SetTextureColorMod.html
@@ -30,8 +30,8 @@
3030 <code>
3131 <pre>
3232 ...
33-SDL_Surface pTexture= SDL_CreateTextureFromSurface( renderer, loadedSurface );
34-SDL_SetTextureColorMod(pTexture, 64, 64, 64);
33+SDL_Texture* pTexture = SDL_CreateTextureFromSurface( renderer, loadedSurface );
34+SDL_SetTextureColorMod( pTexture, 64, 64, 64 );
3535 ...
3636 </pre>
3737 </code>
Show on old repository browser