Browse Source

Fixed bug where OpenBSD couldn't compile

Dalton Nell 9 years ago
parent
commit
8204aea88a
3 changed files with 9 additions and 2 deletions
  1. 1
    1
      CMakeLists.txt
  2. 7
    1
      README.md
  3. 1
    0
      src/framebuffer.hpp

+ 1
- 1
CMakeLists.txt View File

3
 project( "slop" )
3
 project( "slop" )
4
 set( slop_VERSION_MAJOR 4 )
4
 set( slop_VERSION_MAJOR 4 )
5
 set( slop_VERSION_MINOR 2 )
5
 set( slop_VERSION_MINOR 2 )
6
-set( slop_VERSION_PATCH 16 )
6
+set( slop_VERSION_PATCH 17 )
7
 
7
 
8
 set( CMAKE_OPENGL_SUPPORT FALSE CACHE BOOL "Whether or not to compile with OpenGL, shaders, magnification, and theming support." )
8
 set( CMAKE_OPENGL_SUPPORT FALSE CACHE BOOL "Whether or not to compile with OpenGL, shaders, magnification, and theming support." )
9
 
9
 

+ 7
- 1
README.md View File

121
 help
121
 help
122
 ----
122
 ----
123
 ```text
123
 ```text
124
-slop v4.2.16
124
+slop v4.2.17
125
 
125
 
126
 Copyright (C) 2014 Dalton Nell, Slop Contributors
126
 Copyright (C) 2014 Dalton Nell, Slop Contributors
127
 (https://github.com/naelstrof/slop/graphs/contributors)
127
 (https://github.com/naelstrof/slop/graphs/contributors)
201
     $ # Classic Windows XP selection.
201
     $ # Classic Windows XP selection.
202
     $ slop -l -c 0.3,0.4,0.6,0.4
202
     $ slop -l -c 0.3,0.4,0.6,0.4
203
 
203
 
204
+    $ # Wiggle wiggle!
205
+    $ slop --opengl --shader wiggle
206
+
207
+    $ # Edgy textures or something.
208
+    $ slop --opengl --theme gothic
209
+
204
     $ # Change output format to use safer parsing
210
     $ # Change output format to use safer parsing
205
     $ slopoutput=$(slop -f "%x %y %w %h")
211
     $ slopoutput=$(slop -f "%x %y %w %h")
206
     $ X=$(echo $slopoutput | awk '{print $1}')
212
     $ X=$(echo $slopoutput | awk '{print $1}')

+ 1
- 0
src/framebuffer.hpp View File

4
 #include <GL/glew.h>
4
 #include <GL/glew.h>
5
 #include <GL/gl.h>
5
 #include <GL/gl.h>
6
 #include <glm/glm.hpp>
6
 #include <glm/glm.hpp>
7
+#include <stdexcept>
7
 
8
 
8
 #include "x.hpp"
9
 #include "x.hpp"
9
 #include "shader.hpp"
10
 #include "shader.hpp"