Kaynağa Gözat

fixed 4 files out of 2770:

- removed 0 CR characters
 - removed 0 trailing whitespaces
 - replaced 5 tabs with spaces
 - fixed 1 svn:eol-style properties
undefined
Lolbot Sam Hocevar <sam@hocevar.net> 11 yıl önce
ebeveyn
işleme
d375c7ba61
3 değiştirilmiş dosya ile 3 ekleme ve 3 silme
  1. +1
    -1
      src/debug/fps.cpp
  2. +1
    -1
      src/platform/sdl/sdlapp.cpp
  3. +1
    -1
      src/platform/sdl/sdlinput.h

+ 1
- 1
src/debug/fps.cpp Dosyayı Görüntüle

@@ -93,7 +93,7 @@ void DebugFps::TickGame(float seconds)
1e3f * Profiler::GetAvg(Profiler::STAT_TICK_BLIT),
1e3f * Profiler::GetAvg(Profiler::STAT_TICK_FRAME),
1.0f / Profiler::GetAvg(Profiler::STAT_TICK_FRAME),
1e3f * Profiler::GetAvg(Profiler::STAT_USER_00),
1e3f * Profiler::GetAvg(Profiler::STAT_USER_00),
Ticker::GetFrameNum());
data->lines[0]->SetText(buf);
#endif


+ 1
- 1
src/platform/sdl/sdlapp.cpp Dosyayı Görüntüle

@@ -82,7 +82,7 @@ SdlApp::SdlApp(char const *title, ivec2 res, float fps) :
SDL_GL_SetAttribute(SDL_GL_DOUBLEBUFFER, 1);
SDL_GL_SetAttribute(SDL_GL_DEPTH_SIZE, 16);

// TODO: when implementing fullscreen, be sure to overwrite screen_w and screen_h with the value of vidinfo after the call to SDL_SetVideoMode
// TODO: when implementing fullscreen, be sure to overwrite screen_w and screen_h with the value of vidinfo after the call to SDL_SetVideoMode
SDL_Surface *video = SDL_SetVideoMode(res.x, res.y, 0, SDL_OPENGL);
# endif
if (!video)


+ 1
- 1
src/platform/sdl/sdlinput.h Dosyayı Görüntüle

@@ -29,7 +29,7 @@ public:
/** passing the screen resolution (note: not the windowed app resolution!) allows to make the mouse axis resolution-independent */
SdlInput(int app_w, int app_h, int screen_w, int screen_h);

virtual ~SdlInput();
virtual ~SdlInput();
void SetScreenResolution();

protected:


Yükleniyor…
İptal
Kaydet