[pre-commit.ci] pre-commit autoupdate (#3367)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
6644f6708d
commit
2ee04c397c
@@ -19,14 +19,14 @@ repos:
|
||||
exclude: 'platform/android/MapLibreAndroid/src/main/java/org/maplibre/android/(location/LocationIndicatorLayer|style/layers/PropertyFactory)\.java$'
|
||||
|
||||
- repo: https://github.com/pre-commit/mirrors-clang-format
|
||||
rev: v19.1.7
|
||||
rev: v20.1.0
|
||||
hooks:
|
||||
- id: clang-format
|
||||
files: '.*\.(hpp|cpp|h)'
|
||||
exclude: 'vendor/.*'
|
||||
|
||||
- repo: https://github.com/keith/pre-commit-buildifier
|
||||
rev: 8.0.1
|
||||
rev: 8.0.3
|
||||
hooks:
|
||||
- id: buildifier
|
||||
|
||||
|
||||
@@ -548,8 +548,8 @@ MLN_EXPORT
|
||||
`-setUserLocationVerticalAlignment:animated:` method instead.
|
||||
*/
|
||||
@property (nonatomic, assign) MLNAnnotationVerticalAlignment userLocationVerticalAlignment
|
||||
__attribute__((deprecated("Use ``MLNMapViewDelegate/mapViewUserLocationAnchorPoint:`` instead.")
|
||||
));
|
||||
__attribute__((
|
||||
deprecated("Use ``MLNMapViewDelegate/mapViewUserLocationAnchorPoint:`` instead.")));
|
||||
|
||||
/**
|
||||
Sets the vertical alignment of the user location annotation within the
|
||||
|
||||
@@ -1756,13 +1756,12 @@ void (*const glGetInternalformativ)(GLenum, GLenum, GLenum, GLsizei, GLint*) =
|
||||
|
||||
/* OpenGL Windows Extensions */
|
||||
|
||||
BOOL(*const wglChoosePixelFormatARB)
|
||||
(HDC, const int*, const FLOAT*, UINT, int*, UINT*) = [](HDC hdc,
|
||||
const int* piAttribIList,
|
||||
const FLOAT* pfAttribFList,
|
||||
UINT nMaxFormats,
|
||||
int* piFormats,
|
||||
UINT* nNumFormats) {
|
||||
BOOL (*const wglChoosePixelFormatARB)(HDC, const int*, const FLOAT*, UINT, int*, UINT*) = [](HDC hdc,
|
||||
const int* piAttribIList,
|
||||
const FLOAT* pfAttribFList,
|
||||
UINT nMaxFormats,
|
||||
int* piFormats,
|
||||
UINT* nNumFormats) {
|
||||
if (!opengl32) loadWGL();
|
||||
return ::wgl_wglChoosePixelFormatARB(hdc, piAttribIList, pfAttribFList, nMaxFormats, piFormats, nNumFormats);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user