Thu, 26 Nov 2009 05:55:57 +0000 |
Sam Lantinga |
Adam Strzelecki to SDL
|
Sun, 22 Nov 2009 06:34:45 +0000 |
Sam Lantinga |
Whoops, actually set the SDL error, don't just print the error.
|
Sat, 21 Nov 2009 07:26:52 +0000 |
Sam Lantinga |
Added comment for pixel-perfect line workaround.
|
Sat, 21 Nov 2009 07:22:59 +0000 |
Sam Lantinga |
Of COURSE that trick wouldn't work on all renderers. Fall back to something for now, hopefully figure out a better way to do this later.
|
Sat, 21 Nov 2009 07:14:21 +0000 |
Sam Lantinga |
This is terrible, but the OpenGL standard says that lines are half open, which means that one endpoint is not covered so adjoining lines don't overlap. It also doesn't define which end is open, and indeed Mac OS X and Linux differ. Mac OS X seems to leave the second endpoint open, but Linux uses the right-most endpoint for x major lines and the bottom-most endpoint for y major lines.
|
Sat, 21 Nov 2009 06:34:43 +0000 |
Sam Lantinga |
Fixed the coordinates for pixel coverage in blits
|
Sat, 21 Nov 2009 06:19:34 +0000 |
Sam Lantinga |
It's not the last pixel, it's the rightmost pixel, or if they're both the same x coordinate, the bottommost pixel.
|
Sat, 21 Nov 2009 05:29:31 +0000 |
Sam Lantinga |
My first OpenGL shader! Momma will be so proud!
|
Thu, 19 Nov 2009 08:02:00 +0000 |
Sam Lantinga |
Mike Gorchak to Sam
|
Thu, 19 Nov 2009 05:33:41 +0000 |
Sam Lantinga |
Found a way to implement mask semantics in OpenGL
|
Thu, 19 Nov 2009 04:59:19 +0000 |
Sam Lantinga |
Include the endpoint in the line we're drawing
|
Thu, 19 Nov 2009 04:33:35 +0000 |
Sam Lantinga |
Adjust the vertices to be over the texel center.
|
Wed, 18 Nov 2009 08:07:37 +0000 |
Sam Lantinga |
Fixed GL_RenderReadPixels() - thanks Ryan!
|
Wed, 18 Nov 2009 07:35:00 +0000 |
Sam Lantinga |
First pass (untested) at RenderWritePixels()
|
Wed, 18 Nov 2009 06:15:44 +0000 |
Sam Lantinga |
Trying to figure out why the OpenGL tests are failing...
|