vrld
f9f7e83f0e
Issue #7 : Use GL_EXT_framebuffer_object when OpenGL version < 3.0
...
Add runtime check of OpenGL version and extensions.
If OpenGL version >= 3.0, use core functions.
Else check for framebuffer object extension and use EXT functions.
If none of the above, do nothing but return GL_FRAMEBUFFER_COMPLETE.
2010-08-27 13:51:11 +02:00
vrld
5ae3573c32
Merge error message changes
2010-08-26 21:02:50 +02:00
vrld
320ac05fd1
Fix of http://bitbucket.org/bartbes/love-fbo/issue/7
...
Move fbo:grab() to love.graphics.setRenderTarget( fbo )
Move fbo:stop() to love.graphics.setRenderTarget( nil )
Rename fbo:render( func ) to fbo:renderTo( func )
2010-08-26 20:44:30 +02:00
Bill Meltsner
e937ab2d68
fixed gcc warnings with regard to initialization order in GlyphData
2010-08-26 10:36:07 -05:00
Bart van Strien
b3799b52e6
Fixed anjo's freeing issues & hopefully padding works
2010-08-26 17:25:34 +02:00
vrld
9dea5e638f
More descriptive error messages
2010-08-26 13:02:41 +02:00
Bill Meltsner
6c456ea93b
fixed scalar vs. vector delete issue in GlyphData::pad
2010-08-25 17:54:19 -05:00
vrld
98feae1950
Fix error messages on multiple Frambuffer:grab()/stop()
2010-08-25 17:38:06 +02:00
vrld
f97d087158
Framebuffer status handling
...
Remove Framebuffer::statusCode() and Framebuffer::statusMessage().
Introduce Framebuffer:getStatus() returning the value of
glCheckFramebufferStatus().
Test if creation was successful in w_newFramebuffer(L), on failure throw
useful error message.
2010-08-25 17:28:51 +02:00
Bill Meltsner
2cc3fb4715
Fonts now handle resolution changes properly
2010-08-24 14:12:12 -05:00
Bill Meltsner
5a3b9691e5
tweaked drawing a bit more for efficiency's sake
2010-08-23 21:59:50 -05:00
Bill Meltsner
34ac035c1b
converted Font drawing to use display lists - should increase draw speed
2010-08-23 21:24:16 -05:00
Bill Meltsner
c06d5c3263
hopefully padded fonts so that people with crappy graphics cards can still see them - this needs testing, though
2010-08-19 13:41:19 -05:00
Bill Meltsner
6f90a33e17
Exposed Source:setPosition and its brethren
2010-08-19 09:08:36 -05:00
Bill Meltsner
7611edd9ee
DistanceJoint:getType now returns "distance" instead of "circle"
2010-08-19 01:05:51 -05:00
vrld
ce0006d04c
Add guards to prevent fbo nesting
2010-08-13 21:04:32 +02:00
vrld
35093a5c45
Change bind/unbind to grab/stop
2010-08-13 18:50:00 +02:00
Bart van Strien
6400273a73
File moves
2010-08-13 13:35:42 +02:00
Bart van Strien
9d35792fe5
Did the name change
2010-08-13 13:33:13 +02:00
Matthias Richter
b734a39f4d
Add color clearing on Fb::bind() (see love issue #17 , comment #5 )
2010-08-11 21:10:31 +02:00
Matthias Richter
e5c2f063e8
Add human readable error strings when creating the Fbo failed
2010-08-11 20:29:47 +02:00
Bart van Strien
f87738edb5
Added first review of vrld's FBO patch
2010-08-10 19:05:56 +02:00
Bart van Strien
b8c82d51b8
Oops, that wasn't supposed to be in the repo (yet)
2010-08-10 16:43:35 +02:00
Bart van Strien
8362e86627
First import and review of vrld's patch
2010-08-10 16:23:11 +02:00
Bart van Strien
310a50ba2f
Exposed shape:getBody
2010-08-09 12:32:10 +02:00
Bart van Strien
48a94f32d9
newThread now accepts files
2010-08-04 14:22:30 +02:00
Bart van Strien
29c68d06f1
Image settings now survive setMode, fixes bug #10
2010-08-04 13:38:22 +02:00
Bart van Strien
5235ceac53
Added love.focus callback
2010-08-03 13:51:19 +02:00
Bill Meltsner
176645e25d
added love.graphics.setIcon
2010-08-01 08:56:05 -05:00
Bart van Strien
908df65bdb
Added meter parameter to newWorld
2010-08-01 14:42:54 +02:00
Bart van Strien
55ec59810d
Added love.quit callback
2010-07-31 16:22:12 +02:00
bart@bartbes.ath.cx
0188572124
Added maxwidth, lines = font:getWrap(string, wrap) by feature request
2010-06-12 15:35:54 +02:00
Bill Meltsner
1e8078c520
merged
2010-05-23 17:30:38 -05:00
Bill Meltsner
d0391f9484
Glyph wasn't actually Volatile and thus didn't handle resolution changes very well, this is fixed
2010-05-23 17:28:19 -05:00
bart@bartbes.ath.cx
140d3866a3
Removed ineffective and error-prone killthread in thread destructor
2010-05-23 15:36:49 +02:00
Bill Meltsner
0f84907996
Dropped the required OS X version to 10.4 - some frameworks may have to be recompiled but the source itself compiles fine (with a couple tweaks)
2010-05-22 18:17:08 -05:00
bart@bartbes.ath.cx
200d4bc653
It looks like a dirty hack, it probably is, but this fixes the GC
2010-05-20 21:53:50 +02:00
bart@bartbes.ath.cx
a349c9f85a
Applied aq1018's fix for newFont and setFont (as partly described in ticket #232 )
2010-05-20 17:41:57 +02:00
bart@bartbes.ath.cx
3d726b0dd9
Added mutexes to the GC and made tip buildable again on linux
2010-05-20 17:31:07 +02:00
Bill Meltsner
d48c28adec
final merge before pushing back into the main branch
2010-05-07 14:55:12 -04:00
Bill Meltsner
bb778497d7
merged
2010-05-07 14:54:56 -04:00
Tommy Nguyen
684c309145
Bored at work. Did some Valgrind shit and fixed this 'error'.
2010-05-05 13:26:20 +02:00
rude
ea38442770
Fixed VS project files, and a bug where ParticleSystem::setSprite did not retain the new Image.
2010-05-04 18:06:10 +02:00
Bill Meltsner
58047acb61
merged
2010-05-03 20:40:43 -04:00
Bill Meltsner
d15e2241b0
changed a hardcoded pi instance to use LOVE_M_PI instead
2010-04-23 09:40:06 -04:00
bart@bartbes.ath.cx
a4241646b7
Should now fall back to no FSAA when it is not available at all
2010-04-19 16:18:51 +02:00
bart@bartbes.ath.cx
bf72299223
Fixed bug/epic fail in loader
2010-04-18 23:40:01 +02:00
Bill Meltsner
b9e59513e8
merged in bartbes' FSAA checking
2010-04-18 10:16:13 -04:00
bart@bartbes.ath.cx
d4fa9aa551
Prevent error when setting an incompatible FSAA value (warning is displayed)
2010-04-18 14:44:46 +02:00
Bill Meltsner
b94cb9ca62
heh whoops accidentally reverted to lower-left origin, fixed
2010-04-17 15:34:08 -04:00