# sdl12-compat: FIXME removal: these should be asserts, not FIXMEs.

**URL:** <https://discourse.libsdl.org/t/sdl12-compat-fixme-removal-these-should-be-asserts-not-fixmes/38301>\
**Category:** SDL Commits\
**Created:** [August 19, 2022, 9:26pm UTC](https://discourse.libsdl.org/t/sdl12-compat-fixme-removal-these-should-be-asserts-not-fixmes/38301 "2022-08-19T21:26:02Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![SDLPushPostBot](https://discourse.libsdl.org/user_avatar/discourse.libsdl.org/sdlpushpostbot/32/4370_2.png) [@SDLPushPostBot](https://discourse.libsdl.org/u/SDLPushPostBot)\
**Post date:** [August 19, 2022, 9:26pm UTC](https://discourse.libsdl.org/t/sdl12-compat-fixme-removal-these-should-be-asserts-not-fixmes/38301/1 "2022-08-19T21:26:02Z")

</div>

> <https://github.com/libsdl-org/sdl12-compat/commit/72f4b9f7801c467ff108de48cc6731468af7ca87>
>
> What alpha format would we have that isn't 2 or 4 bytes...?
> 
> Reference Issue #14…3.

```diff
From 72f4b9f7801c467ff108de48cc6731468af7ca87 Mon Sep 17 00:00:00 2001
From: "Ryan C. Gordon" <[EMAIL REDACTED]>
Date: Fri, 19 Aug 2022 17:23:43 -0400
Subject: [PATCH] FIXME removal: these should be asserts, not FIXMEs.

What alpha format would we have that isn't 2 or 4 bytes...?

Reference Issue #143.
---
 src/SDL12_compat.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/SDL12_compat.c b/src/SDL12_compat.c
index cba209ca..53a38848 100644
--- a/src/SDL12_compat.c
+++ b/src/SDL12_compat.c
@@ -6019,7 +6019,7 @@ SaveDestAlpha(SDL12_Surface *src12, SDL12_Surface *dst12, const SDL12_Rect *dstr
                 sptr = (Uint32 *) (((Uint8 *) sptr) + pitch);
             }
         } else {
- FIXME("Unhandled dest alpha");
+ SDL_assert(!"Unhandled dest alpha");
         }
     }
 
@@ -6059,7 +6059,7 @@ RestoreDestAlpha(SDL12_Surface *dst12, Uint8 *dstalpha, const SDL12_Rect *dstrec
                 dptr = (Uint32 *) (((Uint8 *) dptr) + pitch);
             }
         } else {
- FIXME("Unhandled dest alpha");
+ SDL_assert(!"Unhandled dest alpha");
         }
         SDL20_free(dstalpha);
     }

```
