Changed C++ style comments.
authorPhilipp Wiesemann <philipp.wiesemann@arcor.de>
Sun, 18 May 2014 21:11:30 +0200
changeset 8778d67a044fbec6
parent 8777 04d0414f6812
child 8779 d21a3ff2b0d2
Changed C++ style comments.
src/render/direct3d/SDL_render_d3d.c
src/video/windows/SDL_windowswindow.c
test/testhotplug.c
     1.1 --- a/src/render/direct3d/SDL_render_d3d.c	Sun May 18 21:05:39 2014 +0200
     1.2 +++ b/src/render/direct3d/SDL_render_d3d.c	Sun May 18 21:11:30 2014 +0200
     1.3 @@ -1871,7 +1871,7 @@
     1.4  #if SDL_VIDEO_RENDER_D3D && !SDL_RENDER_DISABLED
     1.5      D3D_RenderData *data = (D3D_RenderData *) renderer->driverdata;
     1.6  
     1.7 -    // Make sure that this is a D3D renderer
     1.8 +    /* Make sure that this is a D3D renderer */
     1.9      if (renderer->DestroyRenderer != D3D_DestroyRenderer) {
    1.10          SDL_SetError("Renderer is not a D3D renderer");
    1.11          return NULL;
     2.1 --- a/src/video/windows/SDL_windowswindow.c	Sun May 18 21:05:39 2014 +0200
     2.2 +++ b/src/video/windows/SDL_windowswindow.c	Sun May 18 21:11:30 2014 +0200
     2.3 @@ -343,15 +343,16 @@
     2.4      {
     2.5          const char *hint = SDL_GetHint(SDL_HINT_VIDEO_WINDOW_SHARE_PIXEL_FORMAT);
     2.6          if (hint) {
     2.7 -            // This hint is a pointer (in string form) of the address of
     2.8 -            // the window to share a pixel format with
     2.9 +            /* This hint is a pointer (in string form) of the address of
    2.10 +               the window to share a pixel format with
    2.11 +            */
    2.12              SDL_Window *otherWindow = NULL;
    2.13              SDL_sscanf(hint, "%p", (void**)&otherWindow);
    2.14  
    2.15 -            // Do some error checking on the pointer
    2.16 +            /* Do some error checking on the pointer */
    2.17              if (otherWindow != NULL && otherWindow->magic == &_this->window_magic)
    2.18              {
    2.19 -                // If the otherWindow has SDL_WINDOW_OPENGL set, set it for the new window as well
    2.20 +                /* If the otherWindow has SDL_WINDOW_OPENGL set, set it for the new window as well */
    2.21                  if (otherWindow->flags & SDL_WINDOW_OPENGL)
    2.22                  {
    2.23                      window->flags |= SDL_WINDOW_OPENGL;
     3.1 --- a/test/testhotplug.c	Sun May 18 21:05:39 2014 +0200
     3.2 +++ b/test/testhotplug.c	Sun May 18 21:11:30 2014 +0200
     3.3 @@ -123,7 +123,9 @@
     3.4                      }
     3.5                      break;
     3.6                  case SDL_JOYAXISMOTION:
     3.7 +/*
     3.8  //                    SDL_Log("Axis Move: %d\n", event.jaxis.axis);
     3.9 +*/
    3.10                      if (enable_haptic)
    3.11                          SDL_HapticRumblePlay(haptic, 0.25, 250);
    3.12                      break;