A critical bugfix!

I discovered a problem with testgl.c which absolutely MUST be fixed! Not
fixing this bug immediately will be a great blow to budding OpenGL coders
everywhere!–
Joseph Carter This thing is an AI

hey, quick question, is there any way to speed up the
performance of uquake-x11?
rebelpacket: If you want to accelerate it, throw it harder.

-------------- next part --------------
— test/testgl.c.orig Thu Apr 18 13:48:06 2002
+++ test/testgl.c Thu Apr 18 13:48:31 2002
@@ -454,9 +454,9 @@
/* Initialize the display */
switch (bpp) {
case 8:

  •   rgb_size[0] = 2;
    
  •   rgb_size[0] = 3;
      rgb_size[1] = 3;
    
  •   rgb_size[2] = 3;
    
  •   rgb_size[2] = 2;
      break;
      case 15:
      case 16:
    

-------------- next part --------------
A non-text attachment was scrubbed…
Name: not available
Type: application/pgp-signature
Size: 273 bytes
Desc: not available
URL: http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20020418/8b24c291/attachment.pgp

I discovered a problem with testgl.c which absolutely MUST be fixed! Not
fixing this bug immediately will be a great blow to budding OpenGL coders
everywhere!

Oh mi gosh!!! Ill fix it righte now!!!

-Sam Lantinga, Software Engineer, Blizzard Entertainment

This critical fix has been applied to the Object Pascal port as well!!!

Dominique.–
http://www.DelphiGamer.com := for all your Object Pascal game
development needs;
http://www.delphi-jedi.org/Jedi:TEAM_SDL_HOME := Home of JEDI-SDL;
Cross-platform game development with Pascal, has never been easier.Dom

Joseph Carter wrote:

I discovered a problem with testgl.c which absolutely MUST be fixed! Not
fixing this bug immediately will be a great blow to budding OpenGL coders
everywhere!


— test/testgl.c.orig Thu Apr 18 13:48:06 2002
+++ test/testgl.c Thu Apr 18 13:48:31 2002
@@ -454,9 +454,9 @@
/* Initialize the display */
switch (bpp) {
case 8:

  • rgb_size[0] = 2;
    
  • rgb_size[0] = 3;
    rgb_size[1] = 3;
    
  • rgb_size[2] = 3;
    
  • rgb_size[2] = 2;
    break;
    case 15:
    case 16:
    

I say we shouldn’t fix bugs, it encourages them to come back…

Kind of like a hospital… People get injured and go there to get fixed… if
they didn’t get fixed, they wouldn’t go there. Since we want to get rid of
bugs, I say we shouldn’t fix them.

:smiley:

-Jim

Depends on your interpretation of the word “fix”. “Fixed” people very
rarely come back… :wink:

//David Olofson — Programmer, Reologica Instruments AB

.- M A I A -------------------------------------------------.
| Multimedia Application Integration Architecture |
| A Free/Open Source Plugin API for Professional Multimedia |
----------------------------> http://www.linuxdj.com/maia -' .- David Olofson -------------------------------------------. | Audio Hacker - Open Source Advocate - Singer - Songwriter |-------------------------------------> http://olofson.net -'On Friday 19 April 2002 01:58, Steven James Stapleton wrote:

I say we shouldn’t fix bugs, it encourages them to come back…

Kind of like a hospital… People get injured and go there to get
fixed… if they didn’t get fixed, they wouldn’t go there. Since we
want to get rid of bugs, I say we shouldn’t fix them.

| On Friday 19 April 2002 01:58, Steven James Stapleton wrote:
| > I say we shouldn’t fix bugs, it encourages them to come back…
| >
| > Kind of like a hospital… People get injured and go there to get
| > fixed… if they didn’t get fixed, they wouldn’t go there. Since we
| > want to get rid of bugs, I say we shouldn’t fix them.
|
| Depends on your interpretation of the word “fix”. “Fixed” people very
| rarely come back… :wink:

Just delete the offending code if it contains bugs. Buggy code doesn’t
work, so it’s safe to delete it.

:-)On Fri, Apr 19, 2002 at 03:11:37PM +0200, David Olofson wrote:


I will not make flactuent noises in class

6AD6 865A BF6E 76BB 1FC2 | www.piku.org.uk/public-key.asc
E4C4 DEEA 7D08 D511 E149 | www.piku.org.uk wnzrf at cvxh.bet.hx (rot13’d)

At 15:11 19.04.2002 +0200, you wrote:

I say we shouldn’t fix bugs, it encourages them to come back…

Kind of like a hospital… People get injured and go there to get
fixed… if they didn’t get fixed, they wouldn’t go there. Since we
want to get rid of bugs, I say we shouldn’t fix them.

Depends on your interpretation of the word “fix”. “Fixed” people very
rarely come back… :wink:

Hm, in some cases a bugfix should be done via recoding … but not always
(probably least of all cases), only someone studying computer-science could
be this determinately wrong …
St0fF.>On Friday 19 April 2002 01:58, Steven James Stapleton wrote:

//David Olofson — Programmer, Reologica Instruments AB

.- M A I A -------------------------------------------------.
| Multimedia Application Integration Architecture |
| A Free/Open Source Plugin API for Professional Multimedia |
----------------------------> http://www.linuxdj.com/maia -' .- David Olofson -------------------------------------------. | Audio Hacker - Open Source Advocate - Singer - Songwriter |-------------------------------------> http://olofson.net -’


SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl

=========================================================
!!! COMMODORE – anything else is just a COMPROMISE !!!

St0fF 64 / N30PLA51A - 4 Love, Code, Composition & Design

What’s the difference between a VIC-Chip and a GeForce-GPU?
The Age …