From: Dave Murphy Date: Sun, 3 Jan 2016 14:08:58 +0000 (+0000) Subject: elaborate GX_BUFFER_DIM X-Git-Tag: v1.1.0~6 X-Git-Url: https://chaos.moe/g/?a=commitdiff_plain;h=2741615b85bc533492a2a8d3eb528a69433bf412;p=corbenik%2Fctrulib.git elaborate GX_BUFFER_DIM --- diff --git a/libctru/include/3ds/gpu/gx.h b/libctru/include/3ds/gpu/gx.h index c9f5e20..75a8d26 100644 --- a/libctru/include/3ds/gpu/gx.h +++ b/libctru/include/3ds/gpu/gx.h @@ -4,7 +4,11 @@ */ #pragma once -/// Creates a buffer dimension parameter from width and height values. +/** + * @brief Creates a buffer dimension parameter from width and height values. + * @param w buffer width for GX_DisplayTransfer, linesize for GX_TextureCopy + * @param h buffer height for GX_DisplayTransfer, gap for GX_TextureCopy + */ #define GX_BUFFER_DIM(w, h) (((h)<<16)|((w)&0xFFFF)) /**