Skip to content

Commit

Permalink
Docs
Browse files Browse the repository at this point in the history
  • Loading branch information
rasky committed Nov 12, 2024
1 parent 0c4e388 commit fcd0734
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
7 changes: 4 additions & 3 deletions include/display.h
Original file line number Diff line number Diff line change
Expand Up @@ -296,11 +296,12 @@ uint32_t display_get_bitdepth(void);
uint32_t display_get_num_buffers(void);

/**
* @brief Get the current refreshed rate of the TV in Hz
* @brief Get the current refresh rate of the video output in Hz
*
* The refresh rate is normally 50 for PAL and 60 for NTSC, but this function
* will also account for advanced VI configurations affecting the refresh rate,
* like PAL60.
* returns the hardware-accurate number which is close to those but not quite
* exact. Moreover, this will also account for advanced VI configurations
* affecting the refresh rate, like PAL60.
*
* @return float Refresh rate in Hz (frames per second)
*/
Expand Down
2 changes: 1 addition & 1 deletion include/rdpq_tex.h
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ typedef struct rdpq_texparms_s {

struct {
float translate; ///< Translation of the texture (in pixels)
int scale_log; ///< Power of 2 scale modifier of the texture (default: 0). Eg: -2 = make the texture 4 times smaller
int scale_log; ///< Power of 2 scale modifier of the texture (default: 0). Eg: -2 = make the texture 4 times smaller. Range is [-5..10]

float repeats; ///< Number of repetitions before the texture clamps (default: 1). Use #REPEAT_INFINITE for infinite repetitions (wrapping)
bool mirror; ///< Repetition mode (default: MIRROR_NONE). If true (MIRROR_REPEAT), the texture mirrors at each repetition
Expand Down

0 comments on commit fcd0734

Please sign in to comment.