Skip to content

Commit

Permalink
ZVISION: Update function documentation to represent the changes to th…
Browse files Browse the repository at this point in the history
…e internal pixel format

Aka: We keep everything as 555, and only convert to 565 before we send everything to the backend
  • Loading branch information
RichieSams committed Dec 30, 2014
1 parent 68d3ebd commit 1f5736a
Show file tree
Hide file tree
Showing 2 changed files with 362 additions and 364 deletions.
6 changes: 2 additions & 4 deletions engines/zvision/graphics/render_manager.h
Expand Up @@ -277,8 +277,7 @@ class RenderManager {
void prepareBackground();

/**
* Reads an image file pixel data into a Surface buffer. In the process
* it converts the pixel data from RGB 555 to RGB 565. Also, if the image
* Reads an image file pixel data into a Surface buffer. Also, if the image
* is transposed, it will un-transpose the pixel data. The function will
* call destination::create() if the dimensions of destination do not match
* up with the dimensions of the image.
Expand All @@ -289,8 +288,7 @@ class RenderManager {
void readImageToSurface(const Common::String &fileName, Graphics::Surface &destination);

/**
* Reads an image file pixel data into a Surface buffer. In the process
* it converts the pixel data from RGB 555 to RGB 565. Also, if the image
* Reads an image file pixel data into a Surface buffer. Also, if the image
* is transposed, it will un-transpose the pixel data. The function will
* call destination::create() if the dimensions of destination do not match
* up with the dimensions of the image.
Expand Down

0 comments on commit 1f5736a

Please sign in to comment.