Skip to content

Commit e60d6d0

Browse files
committed
2 parents 165c0e0 + f129bc6 commit e60d6d0

File tree

3 files changed

+21
-39
lines changed

3 files changed

+21
-39
lines changed

LICENSE

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
Copyright (c) 2009-2014, AlloSphere Research Group, Media Arts & Technology, UCSB
2+
Copyright (c) 2009-2014, The Regents of the University of California
3+
All rights reserved.
4+
5+
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
6+
7+
1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
8+
9+
2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
10+
11+
3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
12+
13+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

README.md

Lines changed: 7 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ Allosystem depends on:
4949
* GLEW
5050
* GLUT
5151
* Libsndfile
52-
52+
5353
Optionally on:
5454
* luajit (for alloutil)
5555
* GLV (for alloGLV)
@@ -71,7 +71,7 @@ This will download and install all the AlloCore dependencies using apt-get, MacP
7171
2.2 Building Allosystem (Using Make on Linux, OS X and MSYS on Windows)
7272
----------------------------------------
7373

74-
You need to use cmake to configure the build for your system. You can build Allocore like this:
74+
You need to use cmake to configure the build for your system. You can build Allocore like this:
7575

7676
./distclean
7777
cmake .
@@ -90,11 +90,11 @@ To produce a debug build:
9090
./distclean
9191
cmake . -DCMAKE_BUILD_TYPE=Debug
9292
make
93-
93+
9494
To enable a full build including alloGLV and allovsr, put the GLV and vsr sources next to the AlloSystem sources, and inside the AlloSystem folder do:
9595

9696
cmake . -DBUILD_EVERYTHING=1
97-
97+
9898
This will build GLV, vsr and all the allo modules if the rest of the dependencies are present.
9999

100100
Other useful configuration variables are:
@@ -127,15 +127,15 @@ Coming soon...
127127

128128
Allosystem offers an easy way to try out examples and build simple projects without having to write makefiles or configure IDE projects. Any .cpp file placed within the AlloSystem sources can be built into an application with a line like:
129129

130-
./run.sh allocore/examples/graphics/shaderSprites.cpp
130+
./run.sh allocore/examples/graphics/shaderSprites.cpp
131131

132132
This will also build any required dependencies and run cmake if needed.
133133

134134
You can also pass a directory, and all the source files in that directory will be built into a single application.
135135

136136
You can make a debug build of the libraries and the application by running:
137137

138-
./debug.sh allocore/examples/graphics/shaderSprites.cpp
138+
./debug.sh allocore/examples/graphics/shaderSprites.cpp
139139

140140
This will run the file in the debugger, so if the application crashes, it will drop you to the debugger shell. If you need to specify a particular debugger instead of the default gdb, adjust the debug.sh script.
141141

@@ -161,35 +161,4 @@ You can uninstall with:
161161
License
162162
======
163163

164-
Copyright (C) 2009-2013. AlloSphere Research Group, Media Arts & Technology, UCSB.
165-
166-
Copyright (C) 2009-2013. The Regents of the University of California.
167-
168-
All rights reserved.
169-
170-
Redistribution and use in source and binary forms, with or without
171-
modification, are permitted provided that the following conditions are met:
172-
173-
Redistributions of source code must retain the above copyright notice,
174-
this list of conditions and the following disclaimer.
175-
176-
Redistributions in binary form must reproduce the above copyright
177-
notice, this list of conditions and the following disclaimer in the
178-
documentation and/or other materials provided with the distribution.
179-
180-
Neither the name of the University of California nor the names of its
181-
contributors may be used to endorse or promote products derived from
182-
this software without specific prior written permission.
183-
184-
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
185-
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
186-
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
187-
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
188-
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
189-
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
190-
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
191-
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
192-
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
193-
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
194-
POSSIBILITY OF SUCH DAMAGE.
195-
164+
This project is licensed under the terms of the 3-clause BSD license.

allocore/src/types/al_MsgQueue.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ void MsgQueue :: recycle(Msg * m) {
5454

5555
/* schedule a new message */
5656
void MsgQueue :: sched(al_sec at, msg_func func, char * data, size_t size) {
57-
assert(!mPool);
57+
assert(mPool);
5858
// get a message-holder from the pool:
5959
Msg * m = mPool;
6060
mPool= m->next;

0 commit comments

Comments
 (0)