Changeset caa2359 in opengl-game


Ignore:
Timestamp:
May 16, 2019, 2:06:47 AM (6 years ago)
Author:
Dmitry Portnoy <dmp1488@…>
Branches:
feature/imgui-sdl, master, points-test
Children:
d9b6a1c
Parents:
bae0911
Message:

Fix some logging code errors

Files:
4 edited

Legend:

Unmodified
Added
Removed
  • NewOpenGLGame.vcxproj

    rbae0911 rcaa2359  
    153153    <ClInclude Include="logger.h" />
    154154    <ClInclude Include="stb_image.h" />
     155    <ClInclude Include="utils.h" />
    155156  </ItemGroup>
    156157  <ItemGroup>
  • logger.cpp

    rbae0911 rcaa2359  
    2626      return false;
    2727   }
    28    va_start(argptr, message.c_str());
     28   va_start(argptr, message);
    2929   vfprintf(file, message.c_str(), argptr);
    3030   va_end(argptr);
     
    4141      return false;
    4242   }
    43    va_start(argptr, message.c_str());
     43   va_start(argptr, message);
    4444   vfprintf(file, message.c_str(), argptr);
    4545   va_end(argptr);
    4646   fprintf(file, "\n");
    47    va_start(argptr, message.c_str());
     47   va_start(argptr, message);
    4848   vfprintf(stderr, message.c_str(), argptr);
    4949   va_end(argptr);
  • new-game.cpp

    rbae0911 rcaa2359  
    1 #include "logger.h"
    2 
    31#include "stb_image.h"
    42
     
    3230#include <map>
    3331
     32#include "logger.h"
    3433#include "utils.h"
    3534
  • utils.h

    rbae0911 rcaa2359  
    1 // Code for offset_of talem from https://gist.github.com/graphitemaster/494f21190bb2c63c5516
     1// Code for offset_of function from https://gist.github.com/graphitemaster/494f21190bb2c63c5516
    22
    33template <typename T1, typename T2>
Note: See TracChangeset for help on using the changeset viewer.